sldvmergeharness
Merge test cases and initializations into one harness model
Description
collects the test data and initialization commands from each test harness model in
status
= sldvmergeharness(name
, models
, initialization_commands
)models
. The function saves the data and initialization
commands in name
, which is a handle to the new model.
If name
does not exist, sldvmergeharness
creates name
as a copy of the first model in
models
. sldvmergeharness
then merges
the data from other models listed in models
into this model. If
you create name
from a previous
sldvmergeharness
run, subsequent runs of
sldvmergeharness
for name
maintains
the structure and initialization from the earlier run. If name
matches an existing Simulink® model, sldvmergeharness
merges the test data from
models
into name
.
sldvmergeharness
assumes that name
and
the rest of the models in models
have only one Signal
Editor block on the top level. If a model in models
has more than one Signal Editor block on the top level or its
top-level Signal Editor block does not have the same number of
signals as the top-level Signal Editor block in
name
, sldvmergeharness
does not merge
the model test data into name
.
To combine the test cases that use different sets of parameter values, use
sldvmergeharness
with sldvgencov
.
Note
sldvmergeharness
replaces
sldvharnessmerge
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2010b