Integrating Polyspace R2021b with Matlab R2021b
29 次查看(过去 30 天)
显示 更早的评论
I have two versions of Polyspace installed on my machine; R2019a and R2021b. I also have mutliple versions of Matlab installed on my machine, but am currently using Matlab R2021b. I need to retain my earlier versions of Matlab in order to provide parallel development with customer versions. I currently have Polyspace R2019a integrated with Matlab R2018a and have no issues with this combination. My issue arises when I attempt to integrate my Polyspace R2021b with Matlab R2021b.
In the Matlab R2021b command line I am able to uninstall the R2019a Polyspace link and establish the link to Polyspace R2021b. I can verify this by issuing the “ver” command to see all the installed components. Polyspace R2021b is in the list. But when I restart Matlab R2021b it always reverts back to the R2019a Polyspace link.
I have followed the Help documentation but I can’t seem to get passed this problem. I’m starting to think we can only have one version of Polyspace installed on a machine. Any idea what could be going on? Is there something in a startup script somewhere that may be keeping the R2019a link?
Thanks for any help that may be provided.
0 个评论
采纳的回答
Anirban
2021-11-15
编辑:Anirban
2021-11-15
Did you try to do the installation by explicitly giving the path to the R2021b Polyspace installation when running polyspacesetup from MATLAB R2021b? Something like this:
polyspacesetup('install', 'polyspacefolder', 'C:\Program Files\Polyspace\R2021b')
See also polyspacesetup. Also, when you say, "when I restart Matlab R2021b it always reverts back to the R2019a Polyspace link", I am wondering how you are determining this. Are you running the "ver" command from R2021b and seeing Polyspace R2019a in the list?
3 个评论
Anirban
2021-12-3
编辑:Anirban
2021-12-3
Just to confirm that indeed R2019a is still installed, you can enter:
polyspacesetup('showpolyspacefolders')
This should show you paths to an R2019a installation like C:\Program Files\Polyspace\R2019a\toolbox\polyspace\bugfinder. If this is the case, we have to understand the root cause. It might be that some path setting is being done for you when MATLAB is started (maybe using a startup script).
You can either contact Technical Support to identify the root cause of the problem or try manually removing all the existing 'Polyspace' folders (folders containing polyspace in path name) from path using rmpath and savepath, and then running this step again as before:
polyspacesetup('install', 'polyspacefolder', 'C:\Program Files\Polyspace\R2021b')
After you run this step and restart MATLAB, now the command:
polyspacesetup('showpolyspacefolders')
should show you the R2021b polyspace folders.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!