Clear Filters
Clear Filters

Generating code for simple model taking too much time in simulink

4 views (last 30 days)
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.

Answers (1)

Tushar
Tushar on 6 Sep 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.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!