Input Output Metric
Metric ID
Metric ID:
                mathworks.metrics.IOCount
Description
Metric Type: Size
Use this metric to calculate the number of inputs and outputs in the model, which include:
- Inputs: Inport blocks, Trigger ports, Enable ports, chart input data and events. 
- Outputs: Outport blocks, chart output data and events. 
- Implicit inputs: From block, where the matching Goto block is outside of the component. 
- Implicit outputs: Goto block, where the matching From block is outside of the component. 
The slmetric.metric.AggregationMode property setting is
                Max.
Computation Details
The metric:
- Runs on library models. 
- Analyzes content in masked subsystems. 
- If specified, analyzes the content of library-linked blocks or referenced models. 
Results
For this metric, instances of slmetric.metric.Result provide the
            following results:
- Value: total interface size or sum of the elements of- Measures.
- AggregatedValue: Number of inputs and outputs for a component and its subcomponents.
- Measures: Array consisting of number of inputs, number of outputs, number of implicit inputs, and number of implicit outputs, which are local to the component.
- AggregatedMeasures: Maximum number of inputs, outputs, implicit inputs, and implicit outputs for a component and subcomponents.