Simulink compilation errors ?

hi, I got this error from Simulink: Inferred size ('[1 20]') for data 'gate_h' (#164) does not match back propagated size ('[20]') from Simulink.
Do you know how to solve it ?
Thanks, Henry

回答 (1 件)

Rajanya
Rajanya 2025 年 4 月 14 日

0 投票

You can go to Model Explorer > find 'gate_h' and select it > go to the general settings of the variable > force change the size to [1 20].
Thanks!

カテゴリ

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

タグ

質問済み:

2016 年 2 月 6 日

回答済み:

2025 年 4 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by