systemcomposer.arch.Adapter
Description
An Adapter object represents an adapter in a System Composer™ model. This class is derived from systemcomposer.arch.Element.
Creation
Create an adapter in an architecture model using the addAdapter function.
model = systemcomposer.createModel('archModel'); arch = get(model,'Architecture'); adapter = addAdapter(arch,'newAdapter');
Properties
Object Functions
addInput | Create new inputs on adapter |
getInput | Get adapter input port by name |
connectTo | Connect adapter to architectural elements |
updatePosition | Update position of adapter based on destination port |
addMapping | Add new mapping entries to adapter |
removeMapping | Remove mapping entries for input elements in adapter |
isFMU | Determine component link to Functional Mockup Unit (FMU) |
isProtected | Determine component reference model is protected |
isReference | Determine component reference to another model |
connect | Create architecture model connections |
getPort | Get port by name |
setMaskImage | Apply mask image to component |
getQualifiedName | Get model element qualified name |
current | Get object of currently selected element |
destroy | Remove model element |
Examples
More About
Version History
Introduced in R2026a
See Also
Functions
iterate|current|getQualifiedName|lookup|systemcomposer.createModel|systemcomposer.loadModel|systemcomposer.openModel|open|save|close|createArchitectureModel|createArchitectureSubsystem|linkToModel|inlineComponent|addComponent|getComponent|addPort|getPort|setName|getSubElement|getPortElement|getConnectorTo|connect|setMaskImage|IsAdapterComponent|addAdapter|addInput|getInput|connectTo|updatePosition|addMapping|removeMapping|smartConnect|getUnconnectedPorts|getSmartConnectPolicy|setSmartConnectPolicy|destroy
Objects
systemcomposer.arch.Element|systemcomposer.arch.Architecture|systemcomposer.arch.Component|systemcomposer.arch.ComponentPort|systemcomposer.arch.ArchitecturePort|systemcomposer.arch.PortElement|systemcomposer.arch.Connector|systemcomposer.arch.PhysicalConnector