Function c = listfiles(f)
c = listfiles(f,only_mfiles)
returns a cell-array of filenames given a cell-array f,
containing filenames and/or directories. Files in the
given directories are listed and subdirectories are
recursively visited.
If the optional input argument only_mfiles is true, only
m-files (filenames ending with extension ".m") will be
output. Otherwise, no files are excluded. The latter case
is default.
Write
c = listfiles({'.'})
to list all files in the actual working directory.
(c) 2026 fabien van mook
2026.08.20 release of this file within package "fvm-charvec" under GNU GPLv3+