Simulink compilation errors ?

3 次查看(过去 30 天)
Henry Buck
Henry Buck 2016-2-6
回答: Rajanya 2025-4-14
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
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!

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by