File Exchange

image thumbnail

Path tools - Dynamic Toolbox Management

version (6.33 KB) by

Dynamical toolbox path management. Developer's tweak.



View License

Path tools provides 2 easy functions to manage your toolboxes/folders.

needs: allows adding and removing toolboxes to the Matlab path.
goto: allows changing the current folder to a specified toolbox.

The toolboxes are specified by name, identifier and path in defTBX.m file. Optional 'info' field provides overview, when evoking
needs() % or goto()

Adds 'TBX1' and 'TBX2' to the Matlab path. Removes 'TBX3' from the path (if there). Equivalently
needs TBX1 TBX2 -TBX3
needs(n1,n2,-n3) % where n1 is the identifier of toolbox TBX1, etc.

needs(100:120) % loads all toolboxes with identifiers from 100 to 120

goto('TBX1') % changes the current folder to the one of toolbox TBX1. Equivalently
goto TBX1
goto n1

Comments and Ratings (1)



Fixed typo

Updated author information

License changed from GNU to BDS

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video