Path tools - Dynamic Toolbox Management

版本 1.4.0.0 (6.3 KB) 作者: Andrey Popov
Dynamical toolbox path management. Developer's tweak.
706.0 次下载
更新时间 2011/11/6

查看许可证

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()

needs('TBX1','TBX2','-TBX3')
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

引用格式

Andrey Popov (2024). Path tools - Dynamic Toolbox Management (https://www.mathworks.com/matlabcentral/fileexchange/23148-path-tools-dynamic-toolbox-management), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2006a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Search Path 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.4.0.0

Fixed typo

1.3.0.0

Updated author information

1.2.0.0

License changed from GNU to BDS

1.0.0.0