addContainingDirAnd​SubDir()

Adds the containing folder of the function and all subfolders to the path
325 Downloads
Updated 18 Oct 2016

View License

Simply put the .m file in your main project directory. Calling it will add its containing folder and all subfolders to the path. This is a convenient way to add all the correct subfolders when the project may move between computers or operating systems.

Cite As

benjamin rinauto (2024). addContainingDirAndSubDir() (https://www.mathworks.com/matlabcentral/fileexchange/59815-addcontainingdirandsubdir), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Search Path in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0