genpath
- :
p =genpath(dir)¶ - :
p =genpath(dir, skip, …)¶ Return a path list holding dir and all of its subdirectories, recursively and in sorted order.
Directories named
private, and those whose names start with@or+, are left out, as is every subdirectory whose name equals one of the skip strings (together with its contents). A missing dir gives an empty string.