Generating code for simple model taking too much time in simulink
显示 更早的评论
I am trying to generate simple blinking led code for NXP 32K1XXX and it is taking over an hour to generate code in fact it should just take a few min in max.
There is no error message or something.
I even checked all the settings to make sure its generating code for my specific Micro Controller.

回答(1 个)
Tushar
2023-9-6
0 个投票
Hi Jasmeet,
I understand that you are experiencing longer code generation times with the Embedded Coder for a simple model. Since there are no error or warning messages, I recommend exploring the following resources to troubleshoot the issue:
- NXP Support Package S32K1xx on File Exchange - This resource, created by the NXP Model-Based Design Toolbox Team, may provide insights and solutions related to your specific NXP platform.
- Similar question on MATLAB Answers - There is a chance that someone has encountered a similar issue before. Pay attention to the comment by Mark McBroom, as it may contain helpful steps to follow.
- Contact MathWorks Support - If the issue persists, you can try reaching out to MathWorks Support. They may be able to provide additional assistance and guidance specific to your situation.
I hope these resources help you debug the issue and improve the code generation time for your model.
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!