| 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 |
This chapter focuses on module packaging features (MPF) settings that are interdependent. Their combined values, along with Simulink partitioning, determine the file placement of data definitions and declarations, or data placement. This includes
The number of files generated.
Whether or not the generated files contain definitions for a model's global identifiers. And, if a definition exists, the settings determine the files in which MPF places them.
Where MPF places global data declarations (extern).
The following six MPF settings are distributed among the main procedures and form an important interdependency:
The Data definition field on the Data Placement pane of the Configuration Parameters dialog box.
The Data declaration field on the Data Placement pane of the Configuration Parameters dialog box.
The Owner field of the data object in the Model Explorer, and the Module naming and Module name fields on the Data Placement pane of the Configuration Parameters dialog box. The term "ownership settings" refers to Owner, Module naming, and Module name together.
The Definition file field of the data object on the Model Explorer.
The Header file field of the data object on the Model Explorer.
The Memory section field of the data object on the Model Explorer.
![]() | Managing Placement of Data Definitions and Declarations | Priority and Usage | ![]() |

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 |