MATLAB Installation Guide for Unix    

Specifying MATLAB Startup Options

You can specify startup welcome messages, default definitions, or any MATLAB expressions that you want to run for all users. To do this, edit the M-file matlabrc.m in $MATLAB/toolbox/local, which is invoked automatically each time a user starts MATLAB.

If you do not have write access to matlabrc.m, you can include these same commands in a file called startup.m and store it in the top-level MATLAB directory.


  Specify Documentation Viewing Options Configuring MATLAB Products