Ubuntu下设置matlab默认工作路径

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

First. sudo gedit /usr/local/MATLAB/R2014a/toolbox/local/matlabrc.m
Second. cd ‘/home/yczhang/Documents/mymatlabPath’

你可能感兴趣的:(Ubuntu)