Documentation of toolboxpath


Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)


Help text

 Set all paths for used toolboxes (for instance GEATbx)

 A central place to define all necessary directory extensions 
 of the Matlab search path. This file can work for multiple 
 Matlab installations (multi user and multi version) and 
 multiple operating systems (here Win32 and UNIX).
 Edit this file to your need and put it in a central place.
 Then all users can access this file to add the defined paths 
 to their Matlab search path (see example below).
 The existing Matlab search path is just extended. Thus, 
 this m-file works for all users on the same network.

 This file is configured to add the all paths of the GEATbx.

 Syntax: toolboxpath
 
 This file can be called by hand at the beginning of a 
 Matlab session (just change to the directory of the GEATbx
 and call toolboxpath.
   Or
 This file can be called by the startup-file in
 MATLABROOT\toolbox\local    for WIN32
 ~/matlab                    for UNIX
 
   % Example of Startup M-file (startup.m).
   pwdact = pwd;
   % change directory to find toolboxpath.m
   if strcmp(computer,'PCWIN')
        cd P:ATH\TO\geatbx;
   else cd /PATH/TO/geatbx; end;
   % set the new path
   toolboxpath;
   % and return
   cd(pwdact);

 Then, all the necesary path information will be included 
 in the MATLAB path (added at the end of the MATLAB path).

GEATbx: Main page  Tutorial  Algorithms  M-functions  Parameter/Options  Example functions  www.geatbx.com 

This document is part of version 3.5 of the GEATbx: Genetic and Evolutionary Algorithm Toolbox for use with Matlab - www.geatbx.com.
The Genetic and Evolutionary Algorithm Toolbox is not public domain.
© 1994-2004 Hartmut Pohlheim, All Rights Reserved, (support@geatbx.com).