Running Code Generation Advisor's checks crashes Simulink models (Matlab r2021b)
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have recently encountered errors while running the Code Generation Advisor tool in Simulink. More specifically, all options that "trigger extensive analysis" crash the system during the optimization step. This happens regardless of the Simulink model being tested. More specifically, the following checks crash the system:
- "Check for bitwise operations on signed integers"
- "Check for recursive function calls"
- "Check for equality or inequality operations on floating point values"
- "Check Integer word length" crashes Simulink
All other checks run correctly, or just produce a warning when a model element is not up to MISRA specs. So far, the only warning I'm getting on my main model is an issue with an Integrator and a Transfer function, as well as the use of continuous time while the advisor suggests turning it off. Is there any underlying issue that might be causing this?
0 commentaires
Réponses (1)
Pramil
le 17 Sep 2024
I faced a similar issue in MATLAB R2021b and upon doing some research online though the crash logs, I found the following EBR:
The conditions written were matching in my case. Upgrading to MATLAB R2022a resolved this issue for me.
If upgrading does not resolve this issue for you, I would recommend reaching out to MathWorks Support Team: https://www.mathworks.com/support/contact_us.html
Hope it helps
0 commentaires
Voir également
Catégories
En savoir plus sur Component-Based Modeling dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!