__file_in_path__
- :
fname =__file_in_path__(path, file)¶ - :
fname =__file_in_path__(path, file, "all")¶ Find a regular file in the colon-separated list of directories path.
file is a string or a cell array of strings tried in order. The result is the first match or an empty string; with
"all"it is a cell column of all matches.