I\'ve been chasing the answer to this question in the MATLAB documentation for a long time...
For example, at the bottom of
http://www.mathworks.com/help/matlab/
This is meant as a pointer for Lx users (as confused as I was at first...). I work on Debian based boxes, but the same should apply to the CentOS system lineup, etc.
~/.matlab/matlab actually permits that.~/.matlab/startup.mWorkspace there. That's completely optionalSet Path, click on it and add a "matlab search path" with the button Add folder top left. Add ~/.matlab as a new search path. Change should take effect immediately. ~/.matlab/startup.m is correctly taken into account at launch time.I hate GUIs... I thought you might want to know ;-) HTH.