% File: JohnPath.m % % Example of a script file to set the internal MATLAB path. % You will need to customize this for your computer. % % Instructions % % 1. Remove the comment character, %, from the first column of % the ``% path(...'' line that is appropriate for your computer % % 2. Adjust the '/user/home/John' string to the path you wish % to set. Be sure to keep the directory separator character % (either :, / or \) that is appropriate for your computer. % % % 3 Change the name of the script as you wish % % 4. a. For Unix computers: % Save this script in the MATLAB/local directory % of your login directory and set the MATLABRC % environment variable to ~MATLAB/local % % b. For stand-alone Macintosh, DOS and Windows 3.x computers: % Save this script in the directory containing % the MATLAB application % % c. For Macintosh, DOS and Windows 3.x computers running MATLAB % from a server: % Consult the User's manual to adapt step 4a to % your installation p = path; % path(p,'/user/home/John'); % for Unix % path(p,'user:home:John'); % for a Macintosh % path(p,'\user\home\John'); % for DOS and Windows