Create and manage model-to-model allocations
Use the Allocation Editor in System Composer™ to establish traceable and directed relationships between architectural elements. Allocate components, ports, and connectors in a source model to architectural elements in a target model.
You can use allocations to establish relationships from software components to hardware components and to indicate deployment strategies. Allocate different instances of components, ports, and connectors and use allocations to perform various analyses, for example, resource-based allocation analysis.
Open the Allocation Editor
System Composer toolstrip: Navigate to Modeling > Allocation Editor.
MATLAB® Command Window: Enter
New Allocation Set — Create new allocation set
Create a new allocation set saved as an MLDATX file. Within the allocation set, add allocation scenarios.
Add Scenario — Add allocation scenario
Add an allocation scenario in the selected allocation set. Within the allocation scenario, allocate elements between two architecture models.
Synchronize — Synchronize changes of models in allocation set
This button synchronizes any changes that have been made in the source or target
models of the allocation set. To synchronize changes programmatically, see
Filters — Row filter and column filter
Choose a row filter and a column filter. Filter all allocation scenarios by a combination of the following options:
You can also filter by one or more stereotypes.
Select Clear All Filters to clear every filter, Clear Row Filters to clear row filters, or Clear Column Filters to clear column filters.
systemcomposer.allocation.editor opens the Allocation
Editor from the MATLAB Command Window.
An allocation establishes a directed relationship from architectural elements — components, ports, and connectors — in one model to architectural elements in another model.
Resource-based allocation allows you to allocate functional architectural elements to logical architectural elements and logical architectural elements to physical architectural elements.
An allocation scenario contains a set of allocations between a source and a target model.
Allocate between model elements in an allocation scenario. The
default allocation scenario is called
An allocation set consists of one or more allocation scenarios that describe various allocations between a source and a target model.
Create an allocation set with allocation scenarios in the Allocation Editor. Allocation sets are saved as MLDATX files.
Introduced in R2020b