Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Ryan Rizzo
Ryan Rizzo le 27 Nov 2018
Commenté : Stephan le 27 Nov 2018
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.

Réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by