When MATLAB starts, it will look for a file "startup.m" and run it. This file runs a few commands. For example, it might move to the SPM folder, add that folder to the path, and start SPM:
>>
...
cd
...
c:\matlab\spm12
>>
...
addpath
...
c:\matlab\spm12
>>
...
spm
...
fmri
Example:
View file | ||||
---|---|---|---|---|
|
Location of startup file
To see the location of the startup file, if it exists:
...