State space representation using function block in simulink

Dear friends,
I'm trying to simulate a state space model using function block in simulink. attached is all the program and the state space mode.I'm getting and error that the matrix at the output of the integral size is [6x6] however it should be [6x1]. could you please help me.

回答(1 个)

Any particular reason you are using a MATLAB Function block instead of a State-Space block ? If you have no requirements, this might be an easier approach.
- Sebastian

类别

帮助中心File Exchange 中查找有关 Event Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by