AddRecursivePath
2K Downloads
Updated 03 Jun 2005
No License
This function was created before GenPath and may be helpful to those who do not have it.
It is useful to put this function in your STARTUP.M file, so you can automatically add direcories to your path when you launch MATLAB. This way, even if your directory structure has changed, you will still include all your m-files.
Example:
AddRecursivePath('c:\dev\MATLAB');
Cite As
Michael Robbins (2022). AddRecursivePath (https://www.mathworks.com/matlabcentral/fileexchange/7764-addrecursivepath), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.