Components
While container elements such as packages are provided to help you group the elements in your model, the grouping of model elements for the purpose of code generation is carried out by assigning model elements to components.
Components in your model are used to represent software components. This is reflected in the Features window for components, where you can choose whether the component represents an executable or a library.
On the Scope tab of the Features window, you indicate which elements of your model should be included in the component so that they are grouped together both for code generation and when you build your application from the generated code.
By default, a new component includes all the code-relevant elements in your model. To include only a subset of the model elements in the component, use the controls that are provided on the Scope tab to select only those elements that are relevant for the given software component.