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

11 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
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 个评论
Royi Avital
Royi Avital 2020-4-20
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by