sldvruntest

Simulate model using test case in Simulink® Design Verifier™ data file

Syntax

data = sldvruntest(model, sldvDataFile, testIdx)
data = sldvruntest(model, sldvDataFile)
[data, cvdo] = sldvruntest(model, sldvDataFile, testIdx, true)
[data, cvdo] = sldvruntest(model, sldvDataFile, [], true)

Description

data = sldvruntest(model, sldvDataFile, testIdx) simulates model using input signals associated with a single test case that the Simulink Design Verifier software generated. testIdx specifies the index of the test case that the MAT-file, sldvDataFile, contains. This function returns data, a structure whose fields list the simulation results:

data = sldvruntest(model, sldvDataFile) simulates model using all test cases that the MAT-file, sldvDataFile, contains.

[data, cvdo] = sldvruntest(model, sldvDataFile, testIdx, true) simulates model using the test case that testIdx indexes in the MAT-file sldvDataFile. The Simulink® Verification and Validation™ software collects model coverage information during the simulation, which the function returns in the cvdata object cvdo.

[data, cvdo] = sldvruntest(model, sldvDataFile, [], true) simulates model using all test cases that the MAT-file, sldvDataFile, contains. The Simulink Verification and Validation software collects model coverage information during the simulation, which the function returns in the cvdata object cvdo.

See Also

cvsim, sim

  


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