DocumentationHelp Center
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
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office
Get trial now