bdeGetPortLabel
Returns the label of a given port.
Syntax
label = bdeGetPortLabel(port)
Inputs
- port
- The port to get the label of.
Outputs
- label
- The label of the port.
Examples
Get the label of a given port:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
portList = bdeGetPortsOnBlock(block);
portX = portList{[1, 1]};
label = bdeGetPortLabel(portX);
label = x1