1. Method 1
First. sudo gedit /usr/local/MATLAB/R2014a/toolBox/local/startup.m
Second. cd ‘/home/yczhang/Documents/mymatlabPath’
But,sometimes the Method 1 doesn’t work,then we need the Method 2:
2. Method 2
原文链接:/ubuntu/350105.htmlFirst. sudo gedit /usr/local/MATLAB/R2014a/toolBox/local/matlabrc.m Second. cd ‘/home/yczhang/Documents/mymatlabPath’