![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/299718/image.png)
Simulink: Product block forces wrong dimension size
2 ビュー (過去 30 日間)
古いコメントを表示
Hello all
I have a bit of a problem. My simulink model has an dimension error, but i cant understand why.
I need to perform the calculation x * x^T, in order to get a 5x5 result. (x is 5x1). But simulink "wants" to do x^T * x, to get a 1x1 result.
When i use the same block (copy-pasted), only connected to a display, it works as intended.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/299643/image.png)
I have attached the files nessensary to run the model. The error takes place in a block called "ID block"
I have found, that if i disconnect a signal called "theta" from another block called "controller", the error disappears.
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で General Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!