Move Matlab installation folder

128 views (last 30 days)
Ivan
Ivan on 13 Mar 2013
Hi, is it possible to move matlab installation folder (matlabroot) to another folder under Linux? or i need to reinstall Matlab.
Thanks.
  1 Comment
Achu m k
Achu m k on 13 Mar 2013
you need to reinstall matlab

Sign in to comment.

Answers (3)

Azzi Abdelmalek
Azzi Abdelmalek on 13 Mar 2013
Edited: Azzi Abdelmalek on 13 Mar 2013
I do not think you can move matlab installation folder, If it's possible, it will be complicated to do.

Jason Ross
Jason Ross on 13 Mar 2013
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 on 13 Mar 2013
Edited: Daniel Shub on 13 Mar 2013
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.

Community Treasure Hunt

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

Start Hunting!

Translated by