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

조회 수: 1 (최근 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 CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by