How can I get multiple outputs out of my S-Function, not only state x?

1 vue (au cours des 30 derniers jours)
Manuel Stapf
Manuel Stapf le 15 Avr 2014
Hey,
I'm trying to build a S-Function with multiple outputs. Maybe outport is a better description.
Right now I'm using the normal S-Function block. I implemented my differential equations and when I just want to get the integrated states as a output everything works fine. Now I want to calculate more than the stats in the S-Function. Another variable which shouldn't be interated but also seen in the output. I tried hard but could find a solution.
Do I have to use the Level 2 Block?
Many Thanks,
Manuel

Réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by