How do I change the MATLAB installation PolySpace Model Link Products are using?
14 views (last 30 days)
Show older comments
MathWorks Support Team
on 24 May 2010
Commented: Royi Avital
on 20 Apr 2020
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
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
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.
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!