isfile
Determine if input is file
Description
result = isfile( returns
logical filename)1 (true) if
filename is a file located on the specified path or in the
current folder. Otherwise, isfile returns logical
0 (false).
Examples
Input Arguments
Limitations
MATLAB® does not support internet URLs that require authentication.
For remote locations with authentication,
isfilewill only interpret the first location (which may be the authentication page) and ignore redirects.MATLAB Online™ supports internet URLs associated with Microsoft® OneDrive™ files and folders, while the installed version of MATLAB supports only local OneDrive files.