Setting port dimensions setting

please tell me,what is port dimensions and why do we need to set value as 1

 採用された回答

Fangjun Jiang
Fangjun Jiang 2026 年 2 月 24 日

0 投票

If you open the Stateflow chart, on the tools strip of "Modeling", turn on the "Symbols Pane" and "Property Inspector", you will able to see and edit the properties of the chart data. Select the output data, set the "size" property. Then this warning will disappear.
Stateflow chart is more like "code". It is better to explicitly set the size of the data. 1 means scalar, [m,n] means matrix. -1 means inherit but sometimes it is hard to determine the size of the output data. That is why it is better to specify it.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDecision Logic についてさらに検索

製品

リリース

R2022a

質問済み:

2026 年 2 月 24 日

コメント済み:

2026 年 2 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by