| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Real-Time Workshop Embedded Coder |
| Contents | Index |
| Learn more about Real-Time Workshop Embedded Coder |
You can configure a model such that the generated code includes comments and pragmas for
Data defined in custom storage classes
Internal data not defined in custom storage classes
Model-level functions
Atomic subsystem functions with or without separate data
| To... | Select... |
|---|---|
| Specify the package that contains memory sections that you want to apply | The name of a package for Package. Click Refresh package list to refresh the list of available packages in your configuration. |
| Apply memory sections to initialize/start and terminate functions | A value for Initialize/Terminate. |
| Apply memory sections to step, run-time initialization, derivative, enable, and disable functions | A value for Execution. |
| Apply memory sections to constant parameters, constant, block I/O, or zero representation | A value for Constants. |
| Apply memory sections to root inputs or outputs | A value for Inputs/Outputs. |
| Apply memory sections to block I/O, Dwork vectors, run-time models, zero-crossings | A value for Internal data. |
| Apply memory sections to parameters | A value for Parameters. |
The interface checks whether the specified package is on the MATLAB path and that the selected memory sections are in the package. The results of this validation appear in the field Validation results.
![]() | Defining Memory Sections | Applying Memory Sections | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |