Initialization function to add all relevant directories to Matlab path Must be run once after starting Matlab and before running other scripts/functions This file is part of the SPlaC v1.0 package (copyright 2008) Check the README file for further information
0001 % get current directory 0002 sTmp=what; 0003 % add it and all subdirectory to matlab path 0004 addpath(genpath(sTmp.path)); 0005 0006 sMsg=sprintf('Directory : %s and all subdirectories added to Matlab path',sTmp.path); 0007 disp(sMsg);