isfile
Returns true is the input argument is a file.
📝Syntax
r = isfile(name)
📥Input Arguments
Parameter Description
name a string: filename to check.
📤Output Arguments
Parameter Description
r a logical: true if it is a file.
📄Description

isfile(name) returns true if name is a file.

💡Examples
isfile(nelsonroot())
isfile([nelsonroot(), '/etc/finish.m'])
🔗See Also
mkdirisfolder
🕔Version History
Version Description
1.0.0 initial version
1.4.0 input arguments support scalar string array type
Edit this page on GitHub