Questions fréquemment posées

Need technical support?

Replacing built-in models using CarMaker for Simulink

Question

I would like to replace the built-in models of a specific subsystem with my own user-built model in CarMaker for Simulink. What needs to be considered when deactivating the models that are provided in CarMaker?

Solution

With the release of CarMaker 8.0 the procedure to replace the CarMaker model by a user defined model has changed and is now more convenient.

Since CarMaker 8.0:
Selecting Model Manager off in the relevant part of the Vehicle Data Set is now sufficient to deactivate the built-in CarMaker models of this subsystem.

Example: If you would like to replace the CarMaker steering models by your own Simulink model you have to choose Model Manager off in the Steering tab as shown below:

Before CarMaker 8.0:
In earlier versions of CarMaker, you need to use command arguments to deactivate specific CarMaker models:

-disable< model >

Selecting "Model Manager off" in the Vehicle Data Set is not sufficient to deactivate the entire model during the simulation!

Example: If you would like to replace the steering model with your own model you need to add -disablesteering in the Model Configuration as shown below:

Please have a look into chapter CarMaker for Simulink and CarMaker for Simulink > Demonstration Examples of the Programmer's Guide for more detailed information about the usage of CarMaker for Simulink. In the Reference Manual you can find a detailed overview of the specific interface variables (inputs and outputs) for each model.

Need technical support?
  • Date: 16.09.2020
  • Product: CarMaker
  • Version: 9.0
  • Component: CM4SL
  • Language: English

Tags

Co-Simulation
Matlab/Simulink
Model Manager
User Model