matlabrc
startup
matlabrc.m
and, if it exists, startup.m
. On multiuser or networked systems, matlabrc.m
is reserved for use by the system manager. The file matlbrc.m
invokes the file startup.m
if it exists on MATLAB's search path. As an individual user, you can create a startup file in your own MATLAB directory. Use these files to include physical constants, engineering conversion factors, or anything else you want predefined in your workspace.
startup.m
% Add my test directory as the first entry
% of MATLABPATH
path('/my_home/my_tests',path)
matlabrc
is actually invoked by MATLAB at startup. However, matlabrc.m
contains the statements:
that invokeif exist('startup') == 2
startup
end
startup.m
. You can extend this process to create additional startup M-files, if required.
!
,exist
,quit
,path
(c) Copyright 1994 by The MathWorks, Inc.