Genpath is excluding package folders
이전 댓글 표시
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
Walter Roberson
2017년 8월 23일
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.
채택된 답변
추가 답변 (1개)
Jan
2017년 8월 23일
0 개 추천
There is a pile of solutions in the FileExchange:
카테고리
도움말 센터 및 File Exchange에서 Search Path에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!