Main Content

Files and Folders

File operations, MATLAB® search path

MATLAB can access programs and data files that are on your own machine, on network drives, or on the cloud. When you call a function that uses a file but does not specify its full path, MATLAB looks for that file in the current folder first, and then in folders on the search path. For more information, see Files and Folders That MATLAB Accesses.