Include sub-folders automatically in script
Show older comments
Hello, I would like to know if there is a command by which I can include subfolders in my working path? ex: I have a folder structure which looks like x(main folder)-- a, b, c and d (sub-folders).Everytime I have to incluse all these folders I have to write [workpath, filesep, 'x'];... [workpath, filesep, 'x', filesep, 'a'];... and so on. All I need now is to reduce these extra lines and have just one line which will include all paths. Thank you.
Accepted Answer
More Answers (0)
Categories
Find more on Search Path in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!