Move Matlab installation folder

48 次查看(过去 30 天)
Ivan
Ivan 2013-3-13
Hi, is it possible to move matlab installation folder (matlabroot) to another folder under Linux? or i need to reinstall Matlab.
Thanks.

回答(3 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-3-13
编辑:Azzi Abdelmalek 2013-3-13
I do not think you can move matlab installation folder, If it's possible, it will be complicated to do.

Jason Ross
Jason Ross 2013-3-13
You can move it, but it's highly possible that there will be things that will stop working properly if you do ... for example, if you put a symlink in /bin to launch MATLAB, that will no longer work. If you have desktop shortcuts / launchers, those will now be out of date. Your MATLAB path may be messed up.
The installer does all the "right" things for an install to work properly, it's probably going to end up being a wash versus trying the do it yourself route.
Linux would be the easiest to attempt this with, as you don't have the added complexity of things like the Registry in Windows, in addition to the uninstall scripts. Mac might allow this, but there might also be dependencies that the installer sets up (e.g. plist files) that wont' be updated.

Daniel Shub
Daniel Shub 2013-3-13
编辑:Daniel Shub 2013-3-13
You should be able to if you can leave a symlink in the original location. If you cannot leave a symlink, you may have to deal with the issues Jason mentioned.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by