runOpts
can have the following fields.
If you do not specify a field, slvnvruncgvtest
or slvnvruntest
uses
the default value.
Field Name | Description |
---|
testIdx | Test case index array to simulate or execute from data
file. If testIdx = [] ,
all test cases are simulated or
executed. Default: [] |
signalLoggingSaveFormat | Available only for
slvnvruntest .
Specifies the format of signal logging data
for signals that connect to the outport
of the model and for intermediate signals that are
configured for logging. If you specify
Dataset , data is stored
in the
Simulink.SimulationData.Dataset
objects. Default:
'Dataset' |
coverageEnabled | Available only for slvnvruntest . If true , slvnvruntest collects
model coverage data during simulation. Default: false |
coverageSetting | Available only for slvnvruntest . cvtest object
for collecting model coverage.
If coverageSetting is [] , slvnvruntest uses
the coverage settings for the model specified in the call to slvnvruntest . Default: [] |
allowCopyModel | Available only for slvnvruncgvtest . If
you have not configured your model to execute test cases with the
CGV API, this field specifies creating and configuring the model. If true and you have not configured
the model to execute test cases with the CGV API, slvnvruncgvtest copies
the model, fixes the configuration, and executes the test cases on
the copied model. If false , an error
occurs if the tests cannot execute with the CGV API. Note If you have not configured the top-level model or any
referenced models to execute test cases, slvnvruncgvtest does
not copy the model, even if allowCopyModel is true .
An error occurs. Default:false |
cgvCompType | Available only for slvnvruncgvtest . Defines
the software-in-the-loop (SIL) or processor-in-the-loop (PIL) approach
for CGV: Default:'topmodel' |
cgvConn | Available only for slvnvruncgvtest . Specifies
mode of execution for CGV: Default:'sim' |
fastRestart
| Available only for
slvnvruntest . If
true , Simulink®
Coverage™ uses fast restart mode for model
simulation. Default:
true |
useParallel
| Available only for
slvnvruntest . If
true , Simulink
Coverage simulates test cases with parallel
computing. This option requires a Parallel Computing Toolbox™ license. Default:
false |