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.

Antworten (1)

Sebastian Castro
Sebastian Castro am 24 Jun. 2015

0 Stimmen

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

Kategorien

Gefragt:

am 11 Jun. 2015

Kommentiert:

am 25 Jun. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by