Simulink compilation errors ?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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
0 Kommentare
Antworten (1)
Rajanya
am 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].
Also found a similar MATLAB Answers post explaining the same - https://www.mathworks.com/matlabcentral/answers/17891-inferred-size-1-13-for-data-32-does-not-match-back-propagated-size-13-from-simu
Thanks!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Simulink Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!