[Simulink] Invalid dimensions specified for input port
古いコメントを表示
I'm trying to simulate a simple state space system with feedback. The model I made is the following

This are the variables I'm using

It's clear A is 2x2, B is 2x1, C and K are 1x2 and D is a scalar value. When I run the simulation, I get the following error

The state vector x should be 2x1, rendering the matrix product K*x valid, but I'm getting an error. How can I solve this? Should I configure the output of the transfer block? I tried but I couldn't
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で General Applications についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!