Questions fréquemment posées

Need technical support?

Simulink PlugIns cannot be compiled in previous versions after installing CM 9.0

Question

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.

 

Solution

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.

Need technical support?
  • Date: 07.07.2020
  • Product: CarMaker
  • Version: 8.1
  • Component: Matlab commands
  • Language: English

Tags

Matlab/Simulink
PlugIn