User-defined startup script for MATLAB
startup executes user-specified commands when starting.
startup.m file in the
which is on the MATLAB® search path. Add commands you want executed at startup. For example, your
startup function might include physical constants, defaults for
graphics properties, engineering conversion factors, or anything else you want predefined in
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
matlabrc function and, if it
exists on the MATLAB search path,
which is in the
is reserved for use by MathWorks® and by system administrators on multiuser systems.