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

2 ビュー (過去 30 日間)
Manuel Stapf
Manuel Stapf 2014 年 4 月 15 日
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 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by