How to set a folder as Current folder for every startup of Matlab?

后端 未结 4 552

I would like to set the folder /Users/ALJI/MATLAB as a default current folder for Matlab. I mean on every start up Matlab should point to this folder. is it pos

4条回答
  •  南方客
    南方客 (楼主)
    2021-01-14 04:23

    I finally found it.

    You edit a file named startup.m in /matlabrootfolder/toolbox/local and I add cd /Users/ALJI/MATLAB.

    It worked, hope this help :)

提交回复
热议问题