step to run model with co simulation block

2 views (last 30 days)
vidhya
vidhya on 8 Apr 2012
hello, i generated the cosimulation block for my subsystem using hdl workflow adviser, and i am getting an error of failure to connect to server, while verifying the model with cosimulation. so, can i know what are step or command needed to verify the cosimulation model generated using HDL workflow adviser.

Answers (1)

Tim McBrayer
Tim McBrayer on 9 Apr 2012
The easiest mistake to make is not starting the 3rd-party simulator up through the Simulink diagram. In the cosimulation model there is a "Start Simulator" block; double-clicking on this block will open the 3rd party simulator and initialize it to communicate with the Simulink simulation. Starting the simulator up in another fashion will not properly create the connection between it and Simulink.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!