Generating code for simple model taking too much time in simulink
Mostrar comentarios más antiguos
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.

Respuestas (1)
Tushar
el 6 de Sept. de 2023
0 votos
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.
Categorías
Más información sobre Simulink Coder en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!