How can I get multiple outputs out of my S-Function, not only state x?
2 views (last 30 days)
Show older comments
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
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!