5.0

5.0 | 1 rating Rate this file 13 downloads (last 30 days) File Size: 6.12 KB File ID: #23148

Path tools - Dynamic Toolbox Management

by Andrey Popov

 

28 Feb 2009 (Updated 24 May 2009)

Code covered by BSD License  

Dynamical toolbox path management. Developer's tweak.

Download Now | Watch this File

File Information
Description

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

MATLAB release MATLAB 7.2 (R2006a)
Zip File Content  
Other Files defTBX.m,
goto.m,
license.txt,
needs.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
28 Jul 2009 Guillaume  
Please login to add a comment or rating.
Updates
24 May 2009

License changed from GNU to BDS

Tag Activity for this File
Tag Applied By Date/Time
path navigation toolbox toolboxes Andrey Popov 02 Mar 2009 12:31:12
path navigation toolbox toolboxes Linda 06 Apr 2009 12:36:58
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com