Explicit Input Output Metric
Metric ID
Metric ID:
                mathworks.metrics.ExplicitIOCount
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. 
This metric is available with Simulink®
            Check™. To collect data for this metric, use getMetrics with the metric identifier,
                mathworks.metrics.ExplicitIOCount.
The slmetric.metric.AggregationMode property setting is
                Max.
Computation Details
The metric:
- Excludes From and Goto blocks. 
- 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 and number of outputs which are local to the component.
- AggregatedMeasures: Maximum number of inputs and outputs for a component and subcomponents.