Optimize Generated Code

If you have a Simulink® Coder™ or Embedded Coder® license, you can reduce memory usage of C/C++ code generated for Stateflow® objects in your Simulink models.

For more information, see Design Tips for Optimizing Generated Code for Stateflow Objects (Simulink Coder) and Reduce Memory Usage for Boolean and State Configuration Variables (Simulink Coder).

Was this topic helpful?