Brauchen Sie technischen Support?
Simulink PlugIns cannot be compiled in previous versions after installing CM 9.0
Frage
After the installation of CarMaker 9.0, I want to keep using the previous CarMaker versions and compile new Simulink PlugIns, but an error occurs about Outdated MSYS/MinGW Installation.
Antwort
The problem happens because CarMaker 9.0 also installs MSYS-2020 and changes the system environment variable. PlugIns created in CM version 8.x and 7.x make use of MSYS-2017.
To solve it, before building the PlugIn in Simulink, execute the following command in Matlab command window:
setenv('MSYS_ROOT','MSYS-2017');
Now it is possible to build the model.
Brauchen Sie technischen Support?
- Datum: 07.07.2020
- Produkt: CarMaker
- Version: 8.1
- Komponente: Matlab commands
- Sprache: Englisch
Tags
Matlab/SimulinkPlugIn