Startup file for user-defined options
startup executes commands
of your choosing when the MATLAB® program starts.
startup.m file in a folder on the MATLAB search
path. Add commands you want executed at startup. For example, your
might include physical constants, defaults for Handle Graphics® properties,
engineering conversion factors, or anything else you want predefined in your workspace.
To specify the current folder in MATLAB when it starts, set the Initial working folder preference, described in General Preferences.
At startup, MATLAB automatically executes the file
if it exists on the MATLAB search path,
matlabrc.m, which is in the
is reserved for use by MathWorks® and by system administrators
on multiuser systems.