sldvharnessmerge

Merge test cases and initializations into one model

Syntax

status = sldvharnessmerge(name, models, initialization_commands)

Description

status = sldvharnessmerge(name, models, initialization_commands) collects the test data and initialization commands from each test harness model listed in models and saves them in name. This function assumes that you have created each test harness model with the Simulink® Design Verifier™ software, either with the sldvrun function or the Design Verifier > Generate Tests menu item.

If name does not exist, this function creates it as a copy of the first model in models. This function then copies the data from the other models into this model. If name was created from a previous sldvharnessmerge run, subsequent runs of this function for name will maintain the correct structure and initialization from that earlier run. If name matches an existing Simulink® model, this function merges the test data from models into name.

Consider using sldvharnessmerge with sldvgencov to combine test cases that use different sets of parameter values.

See Also

sldvgencov

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS