Error in port widths or dimensions of multiple mpc

7 ビュー (過去 30 日間)
曜星
曜星 2024 年 4 月 17 日
コメント済み: Samay Sagar 2024 年 4 月 23 日
A1 = [0, 1, 0, 0;
-m*g*L/j, -1000/dsitadx/j, s1/dsitadx/j -s2/dsitadx/j;
0, -1497127089.89560, -2746740569.49450e-9, 0;
0, 2696791201.46434, -1270640969.13778e-9, 1126758225.26467e-9];
B1 = [0; 0; 27497334708.4608; -42904277761.8731];
C1 = eye(4);
D1 = [0; 0; 0; 0];
Error in port widths or dimensions. The signal connected to the "mo" port of the "data_4_17/Multiple MPC Controllers/MPC4" block must be a scalar signal.
Error in port widths or dimensions. The signal connected to the "mo" port of the "data_4_17/Multiple MPC Controllers/MPC1" block must be a row or column vector signal with 4 elements.
I don't know how to solve the problem.
  2 件のコメント
曜星
曜星 2024 年 4 月 17 日
Of course, mo will be 4*1.But why does this happen?
Samay Sagar
Samay Sagar 2024 年 4 月 23 日
For better understanding of your issue, it will be great if you can share the model.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeController Creation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by