State space feedback simulink error

1 view (last 30 days)
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
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.
Maaz Madha
Maaz Madha on 14 Apr 2022
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

Community Treasure Hunt

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

Start Hunting!