<< isfolder | Files and folders functions | mkdir >> |
ls |
ls(name) |
res = ls() |
res = ls(options) |
a string: file or directory name.
vary from system to system.
On Windows, res is an m-by-n character array of names. m is the number of names and n is the number of characters in the longest name. On Unix plaftorms is a character vector of names separated by tab and space characters.
ls is implemented by calling the native operating system's directory listing command—available options will vary from system to system.
res = ls(nelsonroot())
if ~ispc()
res = ls(nelsonroot(), '-l')
end
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET