Possible fixes to "Non-tunable struct parameter 'CNTLR' is not supported for Code Generation"

When performing code-generation using Embedded Coder for SIL testing in Simulink Test, we receive this error:
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개)

카테고리

도움말 센터File Exchange에서 Software Development에 대해 자세히 알아보기

질문:

2021년 3월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by