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

后端 未结 4 527

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:40

    In addition to startup as answered by @Dennis, there's also the matlabrc file. That's what you should use if you need the setup to apply to all users:

    On multiuser or networked systems, system administrators can put messages, definitions, or other code that applies to all users in their matlabrc.m file.

    The file matlabrc.m invokes the startup.m file, if it exists on the search path MATLAB uses.

    Individual users should use the startup.m file to customize MATLAB startup. The matlabrc.m file, located in the matlabroot/toolbox/local folder, is reserved for system administrators

提交回复
热议问题