Invalid dimensions between blocks in Simulink
古いコメントを表示
Hi!
I'm struggling with the error message of invalid dimensions between two blocks - see figure from simulink.

The gain block uses matrix Bd(set to matrix multiplication(K*u)) which is a 5x2 matrix. The random number has nothing fancy with it, in this case just noise. I've tried using the Signal Specification block as seen above to make the signal appear as a 1x5 vector, but this fails in the same manner.
The errors say "output port widths or dimensions of the Signal specification is a [1x5] matrix"
and "Invalid dimensions specified for input port of gain. Gain has dimensions [5x2] while input is set to dimensions [1x5]. These dimensions is not suitable for matrix product with the input signal"
Any helpers who could help here? Much appreciated!
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Discontinuities についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
