pathtooland a GUI will open.
codedirectory then press "Open".
codedirectory and all it's subdirectories are now added to the "MATLAB search path" list.
pathdef.mthat contains the list of directories you see in the GUI.
pathdef.mfile. This happens because by default you are attempting to save the
pathdef.mfile in the MATLAB install directory. A solution to this problem is outlined here. Basically, the answer is to to tell the GUI to save the file in your startup folder. Typing
userpathwill report which the startup folder is. You save the
pathdef.mfile in there.
startup.min your startup folder. This file will be run every time MATLAB starts. In the
startup.mfile you can use the genpath and addpath commands to add directories to the path. Doing this has the advantage that if a future release of StitchIt has a different path (i.e. a directory is added or removed) then this will be automatically dealt with when
startup.mruns. For example your
startup.mfile could look like this:
pathtoolGUI just add the single project directory and don't add subfolders (as shown above). If you add subfolders MATLAB will add the hidden
.gitdirectory and all its many subfolders. Once everything is installed, move on to setting up the INI file.