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개)

Sebastian Castro
Sebastian Castro 2015년 6월 24일

0 개 추천

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에 대해 자세히 알아보기

질문:

2015년 6월 11일

댓글:

2015년 6월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by