Running Code Generation Advisor's checks crashes Simulink models (Matlab r2021b)
9 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Pramil
2024-9-17
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Component-Based Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!