Clear Filters
Clear Filters

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

1 view (last 30 days)
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.

Answers (0)

Categories

Find more on Simulink Functions 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!