Cosimulation Simplorer Simulink: Simulink stuck in initializing mode

3 views (last 30 days)
Dear community,
I am currently using Matlab/Ansys to do a cosimulation between Simulink and simplorer. I succeeded to link the two software and so to get the modulation from Simulink to simplorer, and make my circuit works. However, I have now a problem in Simulink. When I launch Simulink, it launches so the simplorer model associated (thanks to a S-function), however, Simulink is stuck in "initializing mode", while simplorer is running (without the data from simulink). Do you have an idea of how to figure it out ?
Thank you in advance,
Yanis.

Answers (1)

Mark McBroom
Mark McBroom on 20 Apr 2019
The most effective way to debug S-Function issues is to use a C code debugger to debug the S-Function as it is running in Simulink.

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!