1-5, search path
In the previous section, the directory where Test.m is located is d: / mlbook. If you don't enter this directory first, Matlab can't find the M file you want to perform. If you want MATLAB to perform Test.m, you must add D: / MLBOOK to the search path of MATLAB (Search Path). To see the MATLAB search path, type PATH:
Path
Matlabpath
D: / Matlab5 / Toolbox / Matlab / General
D: / Matlab5 / Toolbox / Matlab / OPS
D: / Matlab5 / Toolbox / Matlab / LANG
D: / matlab5 / Toolbox / Matlab / Elmat
D: