| Simulink® Design Verifier™ | ![]() |
Simulate model using test case in Simulink® Design Verifier™ data file
data = sldvruntest(model, sldvDataFile, testIdx)
data = sldvruntest(model, sldvDataFile)
[data, cvdo] = sldvruntest(model, sldvDataFile, testIdx,
true)
[data, cvdo] = sldvruntest(model, sldvDataFile, [],
true)
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:
T — Contains the simulation time vector.
X — Contains the simulation state matrix.
Y — Contains the simulation output matrix.
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.
![]() | sldvrun | Block Reference | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |