How do I change the MATLAB installation PolySpace Model Link Products are using?

14 views (last 30 days)
My MATLAB installation has changed. I upgraded my MATLAB release. Now I need to know how to change the PolySpace Model Link Products to use the new MATLAB installation.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 24 May 2010
If the location of your MATLAB installation changes, you must re-install PolySpace Model Link SL or PolySpace Model Link TL for that release.
You can re-install PolySpace Model Link SL without using the installation DVD.
To reinstall:
1. Copy the file Polyspace_Common\PolySpaceModelLink\startup\polyspacerc.m into your new MATLAB release matlabroot\toolbox\local.
2. Enter:
edit matlabrc
in the MATLAB command window.
3. Go to the end of the file, and add the following line:
polyspacerc;
4. Run MATLAB in "regserver" mode by entering the following command (from a DOS command prompt or by making a new shortcut with this in the target field):
matlabroot\bin\matlab.exe /regserver /r quit
Where matlabroot is the new MATLAB installation folder. For example:
C:\Program Files\MATLAB\R2010a\bin\matlab.exe /regserver /r quit
  1 Comment
Royi Avital
Royi Avital on 20 Apr 2020
By the way, why in the latest releases the MATLAB Installer install MATLAB to PolySpace folder instead of MATLAB? It also creates PolySpace sroup in start menu instead of MATLAB.

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!