mustBeFilePathInclusive
R2026bValidate that input is file in current folder, specified location, or MATLAB path
Since R2026b
Description
mustBeFilePathInclusive( throws an error if value)value is not a file in the current folder, at the specified location, or on the MATLAB® path. This function does not return a value.
mustBeFilePathInclusive calls the isfilePathInclusive function to determine if the input is the name of a file that exists in an inclusive set of locations.
Examples
Input Arguments
Tips
mustBeFilePathInclusiveis designed to be used for property and function argument validation.
Version History
Introduced in R2026b