Get port from component
port = getPort(compObj,portName)
port = getPort(compObj,portName) gets the port on this component with a specified name.
port
compObj
portName
collapse all
Component from which to get the port, specified as a systemcomposer.arch.Component or systemcomposer.arch.VariantComponent object.
systemcomposer.arch.Component
systemcomposer.arch.VariantComponent
Name of port to find, specified as a string or character vector.
Data Types: char
char
Port of the component, returned as a systemcomposer.arch.ComponentPort object.
systemcomposer.arch.ComponentPort
addElement | getElement | getInterface | removeElement
addElement
getElement
getInterface
removeElement