slvnvmakeharness
Generate Simulink Coverage harness model
Syntax
Description
generates a test harness from harnessFilePath
= slvnvmakeharness(model
)model
.
slvnvmakeharness
creates a harness model containing the
Model block, a Signal Editor block, and a
Size-Type conversion block, by default. The test harness includes
one default test case that specifies the default values for
all input signals.
generates a test harness from the data file harnessFilePath
= slvnvmakeharness(model
,dataFile
)dataFile
.
generates a test harness from harnessFilePath
= slvnvmakeharness(model
,dataFile
,harnessOpts
)model
by using the
dataFile
and harness creation options structure
harnessOpts
. Requires ''
for
dataFile
if dataFile
is not available.
The default dataFile
argument creates a test harness with a
single test case with default values for the inputs.