List the Octave specific files in directory dir.
If dir is not specified then the current directory is used.
If a return argument is requested, the files found are returned in the structure w. The structure contains the following fields:
Full path to directory dir
Cell array of m-files
Cell array of mat files
Cell array of mex files
Cell array of oct files
Cell array of mdl files
Cell array of slx files
Cell array of p-files
Cell array of class directories (@classname/)
Cell array of package directories (+pkgname/)
Compatibility Note: Octave does not support mdl, slx, and p files; nor does
it support package directories. what
will always return an empty
list for these categories.
See also: which, ls, exist.
Package: octave