Skip to content

mustBeFile

miscellaneous · scripts/miscellaneous/mustBeFile.m

: mustBeFile (f)

Raise an error unless f names an existing file.

f may be a character row vector, a string array or a cell array of character vectors; every name must be an existing file. Matches MATLAB R2026a (isfile).