推荐方法2 在matalb安装目录中找到toolbox\local文件夹下的matlabrc.m文件,在最后一行加入 cd '要更改的路径'
cd '要更改的路径'
https://blog.csdn.net/weixin_43849277/article/details/107313291