State Space Block giving Dimensions of arrays being concatenated are not consistent.
1 次查看(过去 30 天)
显示 更早的评论
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!