bdeGetPortIOType
Returns the input/output type of a given port.
Syntax
portIOType = bdeGetPortIOType(port)
Inputs
- port
- The port to get the IO type of.
Outputs
- portIOType
- The IO type of the given port.
Examples
Get the IO type of a given port:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
portList = bdeGetPortsOnBlock(block);
portX = portList{[1, 1]};
portIOType = bdeGetPortType(portX);
portIOType = input