Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
namestartup.m
height150

Location of startup file

To see the location of the startup file, if it exists:

...