Main Content


System administrator-defined startup script for MATLAB



matlabrc initializes the MATLAB® program. At startup, MATLAB automatically executes matlabrc and then the startup script, if it exists.

For system administrators managing multi-user or networked systems, modify matlabrc to add messages, definitions, or other code that applies to all users. The matlabrc script is in the matlabroot/toolbox/local folder.

For individual systems, use the startup script to customize MATLAB startup. Put this script in the userpath folder.


You also can start MATLAB using options that you define at the command prompt. For more information, see Specify Startup Options.

Version History

Introduced before R2006a