Possible fixes to "Non-tunable struct parameter 'CNTLR' is not supported for Code Generation"
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
When performing code-generation using Embedded Coder for SIL testing in Simulink Test, we receive this error:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/569164/image.png)
Our entire control system is currently parameterized using structs such as: CNTLR.LowVoltageSystem.MaxVoltage = 12;
I was wondering what solutions may exist to fix this problem, beyond replacing all of the constants within our controller with non-struct variables.
Any help is appreciated.
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Coder finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!