How to add a path permanantly in matlab and save it?
Here is The Mathworks' documentation on setting the search path in MATLAB; note the section at the bottom titled "How MATLAB Stores the Search Path" about making changes permanent: http://www.mathworks.com/help/matlab/matlab_env/what-is-the-matlab-search-path.html
Changes to your path will be continued if you add the path to your startup.m file. You can change it in Matlab by entering into the Matlab command window:
Then add the path to file the same way you would in the command line
You can also use startup.m to permanently change figure defaults and most other settings.