Model Advisor Error Occurred During model compile
이전 댓글 표시
Here is the error message I recieve when trying to run a specific check in model advisor "Identify questionable operations for strict single-precision design":
Error occurred during model compile.
Specified compile time storage class in the variant control expression of variant block 'MODEL_NAME' is not supported when 'Variant activation time' is set to 'startup' or when the Variant activation time is set to 'inherit from Simulink.VariantControl', with activation time of the Simulink.VariantControl objects set to 'startup'.
I understand what it is saying, but what confuses me is why do I get this message if my model compiles and simulates without issue?
Whats even more confusing is I ran the checks from the command line using:
And the check ran for the first instance that appears under the Simulink product category but failed (producing the above error) when run for the Task category Modeling single precesion systems.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Variant Hierarchical Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!