Author Architecture Models - MATLAB & Simulink (original) (raw)

Main Content

Represent architectures using components, ports, and interfaces

Model the physical, functional, and logical architecture of a system. Create visual representations with components, ports, and connections. Components represent architectural systems or subsystems to be used in system design. You can decompose components to add detail and define hierarchical relationships, and you can reuse and reference components across composition models. Convert to architecture model and subsystem references to reuse architectural designs across components. Create variant components and implement multiple design alternatives or variants, chosen based on programmatic rules.

Specify information exchange between components with data interfaces, physical interfaces, and value types using the Interface Editor. A data interface defines the type, dimensions, units, and structure of the data contained within a port and exchanged between components. You can define interfaces locally that are saved with the model, or you can define interfaces in a data dictionary to be used across models.

Add and edit intrinsic or operational parameters for architectural design on components and architectures using the Parameter Editor. Promote parameters from components contained in the model to a top-level architecture.

Author edit-time checks for System Composerā„¢ or define customizations using sl_refresh_customizations.

Blocks

Classes

Functions

expand all

Model Management

Model Building

Parameter Management

Value Type Management

addValueType Create named value type in data dictionary (Since R2021b)
createInterface Create and set owned interface for port (Since R2021b)
setName Set name for value type, function argument, interface, or element
setDataType Set data type for value type (Since R2021b)
setDimensions Set dimensions for value type (Since R2021b)
setUnits Set units for value type (Since R2021b)
setComplexity Set complexity for value type (Since R2021b)
setMinimum Set minimum for value type (Since R2021b)
setMaximum Set maximum for value type (Since R2021b)
setDescription Set description for value type or interface (Since R2021b)

Interface Management

Element Management

addElement Add element
removeElement Remove element
getElement Get object for element
setName Set name for value type, function argument, interface, or element
setType Set shared type on data element or function argument (Since R2021b)
createOwnedType Create owned value type on data element or function argument (Since R2021b)
getSourceElement Gets data elements selected on source port for connection (Since R2020b)
getDestinationElement Gets data elements selected on destination port for connection (Since R2020b)

Dictionary Management

Tools

Interface Editor Create and author interfaces in local and shared data dictionaries
Parameter Editor Add, edit, and promote parameters for architectures and components (Since R2022b)

Topics