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
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
- Choose Architecture Template for System Design
Select an architecture template based on domain-specific extensions. - Compose Architectures Visually
Create architecture models using built-in model element types, such as components, ports, and connections. - Decompose and Reuse Components
Configure components for reuse across models. - Define Port Interfaces Between Components
Learn about port interfaces that define the connections between components. - Use Property Inspector in System Composer
View and edit element properties in System Composer. - Overview of System Composer API
Structural review of programmatic interfaces in System Composer. - Extract Architecture from Simulink Model
Export SimulinkĀ® models as architecture models. - Export Architecture to Software or AUTOSAR Architecture
Export your architecture to a different architecture template.