Borrar filtros
Borrar filtros

Generating code for simple model taking too much time in simulink

4 visualizaciones (últimos 30 días)
Jasmeet Singh
Jasmeet Singh el 7 de Jul. de 2022
Respondida: Tushar el 6 de Sept. de 2023
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
Tushar el 6 de Sept. de 2023
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:
  1. 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.
  2. 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.
  3. 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 Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by