Model reference speed problem (slow)
Show older comments
Hello everybody,
I am trying to convert an atomic subsystem which contains other atomic subsystems with different time steps into a model reference, see the first image.

However, when I convert directly the main atomic subsystem, the simulation runs very slow.

I have realized that if I remove all the output ports, the simulation runs as fast as without model reference.

I do not know why it is happening. Could someone help me with this problem, please? This model in the future will be connected with other models, so the output ports are necessaries.
Thanks in advance!
Accepted Answer
More Answers (0)
Categories
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!