|
- Working with .m files: Any .m files that you create must reside in MATLAB's search path. Type path to see the list of directories in the search path; type path(path,'C:\mydir') to append the directory "mydir" ("my directory") to the list of directories MATLAB will search. Now, any .m files you make in "mydir" will be found when you enter the base filename at the MATLAB prompt. Caution: Simply entering path('C:\mydir') replaces the existing path with your own, making MATLAB unable to locate its own functions.
- Creating .m files in Windows95: If you use the Notepad editor in Windows95 to create and edit Matlab scripts, click here to find out how to disable the automatic appendage of the '.txt' extension. I recommend the Programmer's File Editor (PFE) as an editor more suited to working with .m files. [NOTE: Matlab 5 has it's own editor now.]
- MATLAB tutorials: Look here for a basic introduction. The MA490A/EC497 homepage also contains a good list of on-line Matlab tutorials.
- MATLAB website: The MathWorks (makers of MATLAB) maintains a comprehensive site, including user-contributed .m files.
|
|