<< isdir files and folders functions isfolder >>

isfile


Returns true is the input argument is a file.


Syntax


r = isfile(name)

Input argument


name

a string: filename to check.

Output argument


r

a logical: true if it is a file.

Description


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

Example


isfile(nelsonroot())
isfile([nelsonroot(), '/etc/finish.nls'])

See also


mkdir, isfolder.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< isdir files and folders functions isfolder >>