Installation guide

1 Startup and Shutdown
We strongly recommend that you saveanyM-filesyoucreateandany
MathWorks supplied M-files that you edit in a directory that is not
in the
matlabroot/toolbox directory tree. If you keep your files in
matlabroot/toolbox directories, they may b e overwritten when you install
anewversionofMATLAB.
When to Update the Cache
When you add files to matlabro ot/toolbox directories, the cache and
the cache file need to be updated. MATLAB updates the cache and cache
file automatically when you install toolboxes or toolbox updates using
the MATLAB installer. MATLAB also updates the cache and cache file
automatically w hen you use MATLAB tools, s uch as w h en you save files from
the MATLAB Editor/Debugger to
matlabroot/toolbox directories.
When you add or remove files i n
matlabroot/toolbox directories by some
other means, MATLAB might not recognize those changes. For example,
when you
S ave new files in
matlabroot/toolbox directories using an external editor
Use operating system features and commands to add or remove files in
matlabroot/toolbox directories
MATLAB di splays this message:
Undefined function or variable
Yo u need to update the cache so MATLAB will recognize the changes you
made in
matlabroot/toolbox directories.
Steps to Update the Cache
To update the cache and the cache file,
1 Select File > Preferences > General.
The General Pre fe re nc es pane is displayed.
2 Click Update Toolbox Path C ache and click OK.
1-18