Genpath is excluding package folders
Ältere Kommentare anzeigen
Hello,
I am writing a script that requires to know every folder and subfolder, for which genpath() works perfectly.
However, there are a few folders that are packages (and begin with a '+'), and genpath ignores those.
Is it possible to have genpath include those, or some other way to automatically include that?
Thanks!
1 Kommentar
Walter Roberson
am 23 Aug. 2017
No, it is not possible to set any flags or pass any options to genpath to cause it to return + directories: processing of them is hard-coded. genpath also removes @ directories.
Akzeptierte Antwort
Weitere Antworten (1)
Jan
am 23 Aug. 2017
0 Stimmen
There is a pile of solutions in the FileExchange:
Kategorien
Mehr zu Search Path finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!