Simulink compilation errors ?

8 views (last 30 days)
Henry Buck
Henry Buck on 6 Feb 2016
Answered: Rajanya on 14 Apr 2025
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

Answers (1)

Rajanya
Rajanya on 14 Apr 2025
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!

Categories

Find more on Simulink Coder in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!