bdeSetPortLabel
Sets the label of a port label.
Syntax
bdeSetPortLabel(port, label)
Inputs
- port
- The port that will have it's label set.
- label
- The label to set for the port. Name for the port. Can be a string or a list of string.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
portList = bdeGetPortsOnBlock(block);
portX = portList{[1, 1]};
bdeSetPortLabel(portX, 'x1');