sigsizeinfo
Retrieve signal size coverage information from cvdata
object
Syntax
Description
[
returns the minimum, maximum, and allocated signal sizes for the outputs of model
component min
,max
,allocated
]
= sigsizeinfo(cvdo
,modelObject
)modelObject
within the coverage data object
cvdo
, if modelObject
supports variable
size signals.
allocated
is the upper boundary of the signal size that
Simulink® allocates memory for. The value of allocated
is
the maximum value specified in the parameters for the model object, such as the
PortDimensions
parameter of an Inport block.
If the upper boundary for the signal size is inf
,
sigsizeinfo
returns inf
, and the
coverage report does not display a value in the Allocated
column for that model object.
Examples
Input Arguments
Output Arguments
Alternatives
Use the coverage settings to collect signal size coverage for a model:
Open the model for which you want to collect signal size coverage.
In the Simulink Editor, select Model Settings on the Modeling tab.
On the Coverage pane of the Configuration Parameters dialog box, select Enable coverage analysis.
Under Coverage metrics, select Signal Size.
Click OK to close the Configuration Parameters dialog box and save your changes.
Simulate the model by clicking the Run button and review the results.
Version History
Introduced in R2010bSee Also
complexityinfo
| conditioninfo
| cvsim
| decisioninfo
| mcdcinfo
| sigrangeinfo
| tableinfo
| executioninfo
| relationalboundaryinfo
| overflowsaturationinfo
| getCoverageInfo