Desktop Tools and Development Environment |
MATLAB file operations use the current directory and the MATLAB search path as reference points. Any file you want to run must either be in the current directory or on the search path. The key tools for performing file operations are
Note
You generally cannot perform operations on files and directories for which you do not have proper permission. For example, you cannot copy a file to a read-only directory using the Current Directory browser, however, you can do so using movefile with the appropriate option.
|
A quick way to view or change the current directory is by using the current directory field in the desktop toolbar.
To change the current directory from this field, do one of the following:
The current directory field in the desktop also appears in the Current Directory browser, when the Current Directory browser is undocked. Consider it to be one tool with two different means of accessing it.
Recovering from Problems with the Search Path | Current Directory Browser |
© 1994-2005 The MathWorks, Inc.