State space feedback simulink error

Hi all
I have a state space feedback model as shown below
and when I run it I get an error
Any comments would be appreciated

 Accepted Answer

Sam Chak
Sam Chak on 9 Apr 2022
Please check the Gain Block on the feedback loop. Most likely you performed the multiplication incorrectly.

3 Comments

I've done matrix(K*u) which I think is the right one.
Sam Chak
Sam Chak on 9 Apr 2022
Edited: Sam Chak on 9 Apr 2022
Then check the matrix K, see whether it is a vertical matrix or a horizontal matrix.
Hi it was just a matter of using a mux to split the K matrix(2*5) into 2 streams. Thank you for your comment anyway

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 9 Apr 2022

Commented:

on 14 Apr 2022

Community Treasure Hunt

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

Start Hunting!