View License

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

» Watch video

Highlights from
Path tools - Dynamic Toolbox Management

  • defTBX()DEFTBX Definition of the available toolboxes
  • gotoGOTO Changes the current folder to the folder of a specified toolbox
  • needsNEEDS Adds or removes toolbox(es) to the MATLAB search path
  • View all files
5.0
5.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 6.33 KB File ID: #23148 Version: 1.4

Path tools - Dynamic Toolbox Management

by

 

28 Feb 2009 (Updated )

Dynamical toolbox path management. Developer's tweak.

| 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)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
28 Jul 2009 Guillaume

Updates
24 May 2009 1.2

License changed from GNU to BDS

06 Nov 2011 1.3

Updated author information

06 Nov 2011 1.4

Fixed typo

Contact us