The files are searched in the working directory, Matlab path and the system path.
The items are separated by comas. Files not found will be displayed in an error message output.
If no function is missing, no error interruption is present.
The function can be used either from a program or from Command Window.
Example:
fmfiles('inp','fig.m',{'ffpath',22501},'myprog.exe');
List of input arguments contains items in arbitrary order:
- name file name (string) with no extension = m-file name,
- name.ext file name with extension can be m-file or another name,
- {name,IdNo} a cell containing name without or with extension '.m', and idetification number of the file in the MATLAB File Exchange.
Requirements:
· MATLAB 7.3 or higher
· MATLAB's ffpath.m function