xxlibAddToPath - Adds the xxlib support folder to the path The 20-sim support scripts folder (i.e. xxlib) is added to the path for the current session only. The rationale behind setting the path for the current session only is to prevent future script version issues. Syntax: xxlibAddToPath Inputs: takes no arguments Example: run 'c:\temp\scripting\library\xxlib\xxlibAddToPath.m' See also: savepath Author: Controllab Products B.V. email: info@controllab.nl Website: http://www.controllab.nl October 2013
0001 % xxlibAddToPath - Adds the xxlib support folder to the path 0002 % The 20-sim support scripts folder (i.e. xxlib) is added to the path for the 0003 % current session only. 0004 % The rationale behind setting the path for the current session only 0005 % is to prevent future script version issues. 0006 % 0007 % Syntax: 0008 % xxlibAddToPath 0009 % 0010 % Inputs: 0011 % takes no arguments 0012 % 0013 % Example: 0014 % run 'c:\temp\scripting\library\xxlib\xxlibAddToPath.m' 0015 % 0016 % See also: savepath 0017 % 0018 % Author: Controllab Products B.V. 0019 % email: info@controllab.nl 0020 % Website: http://www.controllab.nl 0021 % October 2013 0022 0023 %------------- BEGIN CODE -------------- 0024 0025 addpath(pwd); 0026