Need technical support?
Troubleshooting: CarMaker for Simulink
Question
These are general troubleshooting tips for some commonly occurring problems when using the CarMaker for Simulink co-simulation ("CM4SL").
Solution
Error: Another CarMaker model is already running, must be stopped first
Why?
- This error appears if a CM4SL simulation is started, while a simulation with another model is already running
What to check if this error occurs?
- How was the simulation started (TestManager, Start button in CM-GUI, Play button in Simulink, ScriptControl, etc.)?
- What is the status of CM GUI and what status is shown in MATLAB ?
- Has the previous simulation really ended? Check for the SIM_END Log entry in the SessionLog.
- Try the following commands (in italics) in the MATLAB command window
cmcmd runningmodel : returns info about the currently running model
cmcmd simstate : returns the actual simulation state - Does cmcmd runningmodel give a meaningful model name as result? Is it the name of the previously ended model?
Need technical support?
- Date: 25.03.2020
- Product: CarMaker
- Version: 9.0
- Component: CM4SL
- Language: English
Tags
TroubleshootingMatlab/Simulink
Test Automation
co-simulation