xxsimAddToPath - Adds the xxsim folder to the path. The 20-sim scripts folder (i.e. xxsim) 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: retval = xxsimAddToPath Inputs: takes no arguments. Outputs: gives no outputs. Examples: run 'c:\temp\scripting\library\xxsim\xxsimAddToPath.m' See also: savepath Author: Controllab Products B.V. email: info@controllab.nl Website: http://www.controllab.nl October 2013
0001 % xxsimAddToPath - Adds the xxsim folder to the path. 0002 % The 20-sim scripts folder (i.e. xxsim) 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 % retval = xxsimAddToPath 0009 % 0010 % Inputs: 0011 % takes no arguments. 0012 % 0013 % Outputs: 0014 % gives no outputs. 0015 % 0016 % Examples: 0017 % run 'c:\temp\scripting\library\xxsim\xxsimAddToPath.m' 0018 % 0019 % See also: savepath 0020 % 0021 % Author: Controllab Products B.V. 0022 % email: info@controllab.nl 0023 % Website: http://www.controllab.nl 0024 % October 2013 0025 0026 %------------- BEGIN CODE -------------- 0027 0028 addpath(pwd); 0029