Filter löschen
Filter löschen

State Space Block giving Dimensions of arrays being concatenated are not consistent.

1 Ansicht (letzte 30 Tage)
I have a state space block in Simulink as follows:
A = [0 1 0 0 0; 1.8 -0.02002 -2 -0.00002 0; 0 0 0 1 0; 10 0.0001 -10 -0.0001 1; 0 0 0 -1000 -1000]
B = [0; 0; 0; 0; 1000]
C = [1 0 0 0 0]
D = [0]
When I pass an input to this block I get:
Invalid setting in '' for parameter 'A'.
Caused by:
  • Error evaluating parameter 'A' in ''
  • Dimensions of arrays being concatenated are not consistent.
I tested this in MATLAB and got no errors. I cant spot what I'm missing here, any help would be appreciated.

Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by