-
Clone repository
-
Create ~/Documents/MATLAB directory (if does not already exist) mkdir ~/Documents/MATLAB
-
Add a symbolic link from repository location to matlab folder ln -s /Users//workspace/matlabfunctions/my_functions ~/Documents/MATLAB/
If need to remove an old symbolic link, use rm -r with no trailing slash on the directory.
- Create a machine-specific startup.m file using startup.m.example as a base. Be sure to replace cp startup.m.example ~/Documents/MATLAB/startup.m
- On newer installs, the startup file now seems to live in
/Users/<user-name>/matlab/