フィルターのクリア

Error in port widths or dimensions

69 ビュー (過去 30 日間)
Nitesh
Nitesh 2011 年 6 月 20 日
コメント済み: moayed mohamed 2019 年 2 月 19 日
hello there! I am working on a Helicopter simulation code made on simulink. hen I try to run this code, it shows error "Error in port widths or dimensions". I am using a square input port with two inmputs coming and 4 outputs are expected. Its showing a question mark above the connecting lines from one input to the port. Dunno wats wrong. please help
  1 件のコメント
moayed mohamed
moayed mohamed 2019 年 2 月 19 日
this problem with me

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

採用された回答

Arnaud Miege
Arnaud Miege 2011 年 6 月 20 日
Have a look at the error message in more detail. It'll tell you: such block is outputting a signal of dimension x and is driving such block, which is expecting s signal of dimension y. This will help you to find out in which block the problem is located and fix it. From the model, you can also click on Format -> Port/Signal Displays -> Signal Dimensions to show the dimensions of the various signals in your model. When a '?' is shown, it means there's a problem with inconsistent dimensions.
HTH,
Arnaud

その他の回答 (3 件)

nithya E
nithya E 2017 年 7 月 27 日
how to correct this error..please find the attachement

sampath vp
sampath vp 2017 年 10 月 31 日
hi,
i have the below error Error in port widths or dimensions. Output port 1 of 'lab55/Convert 1-D to 2-D/In' is a [64x1] matrix. can you pl suggest? thanks

sampath vp
sampath vp 2017 年 10 月 31 日
Error in port widths or dimensions. Output port 1 of 'lab55/Convert 1-D to 2-D/In' is a [64x1] matrix.

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by