Check for root Inports with missing range definitions
Identifies the following:
root level Inport blocks with missing or erroneous minimum or maximum range values for Simulink models.
The check identifies root level Inport blocks with missing or erroneous minimum or maximum range values. You can specify Inport block minimum and maximum values with block parameters or Simulink® signal objects that explicitly resolve to the connected signal lines.
root level Input ports with missing or erroneous minimum or maximum range values for Architecture models.
A results table provides links to Inport blocks and signal objects that do not pass the check, along with conditions triggering the warning.
Available with Simulink Check™.
Results and Recommended Actions
Missing range — Model contains Inport blocks with numeric data types that have missing range parameters (minimum and/or maximum).
|For the listed Inport blocks and Simulink signal objects, specify scalar minimum and maximum parameters.
Missing range(s) for bus object — Bus objects defining the Inport blocks have bus elements with missing ranges.
|For the listed bus elements, to specify the model interface range, provide scalar minimum and maximum parameters.
Range specified will be ignored — Minimum or maximum values at Inports or Simulink signal objects are not supported for bus data types. The values are ignored during range checking.
To enable range checking, specify minimum and maximum signal values on the bus elements of the bus objects defining the data type.
No data type specified — Model contains Inport blocks or Simulink signal objects with inherited data types.
Specify one of the supported data types:
Implicit resolution to a Simulink signal object — Model contains Inport block signal names that implicitly resolve to a Simulink signal object in the base workspace, model workspace, or Simulink data dictionary.
|For the listed Simulink signal objects, in the property dialog, select signal property Signal name must resolve to Simulink signal object. To set this option programmatically, use the port parameter MustResolveToSignalObject.
|One or more Input ports of Architecture model have missing or erroneous range definitions
|Data Interface assigned with the listed Input ports has missing ranges. Provide minimum and maximum values to the data interface.
Capabilities and Limitations
Does not run on library models.
Does not support exclusion in Architecture models.
Allows exclusions of blocks and charts.