Carsim, Prescan, Simuink co-simulation demo being given issue resolved

Display error message carsim S-function output signals the number of errors

In these days with the manual prescan see example carsim and Simulink simulation joint, follow the steps of the step by step operation pdf down, or it found an error is generated as shown below.
Here Insert Picture Description
I.e. the number of model output signals carsim not, the number of output signals carsim defined as 22, to the actual output, but only 3 in Simulink.
After much investigation, found their own mistakes on the Build path carsim mdl file, I used the default build path that
Here Insert Picture Description
actually should be generated model to the next prescan co-simulation demo folder path I set here as G: \ PreScan \ Documents \ Experiments \ DemoTemplates \ Demo_PreScanCarSim2D \ Carsim_vehicleDynamics.mdl
Here Insert Picture Description
after changing the path model which can operate normally, hoping to provide some reference for students experiencing the same problem.

Published an original article · won praise 1 · views 8

Guess you like

Origin blog.csdn.net/gannang0313/article/details/104277541