| Simulink Verification and Validation | ![]() |
www.kxcad.net Home > CAE Software Index > MATLAB Index >
Simulate and return model coverage results for test objects
cvdo = cvsim(cvto) [cvdo,t,x,y] = cvsim(cvto) [cvdo,t,x,y] = cvsim(cvto, timespan, options) [cvdo,t,x,y] = cvsim(cvto, label, setupcmd) [cvdo1, cvdo2, ...] = cvsim(cvto1, cvto2, ...)
You simulate a test specification object (a cvtest object) with the cvsim command.
Note You do not have to enable model coverage reporting for the model to use the cvsim command. |
cvdo = cvsim(cvto) executes the cvtest object cvto by starting a simulation run for the corresponding model. The results are returned in the cvdata object cvdo.
[cvdo,t,x,y] = cvsim(cvto) returns the time vector t, matrix of state values x, and matrix of output values y from the simulation. Refer to the sim command in the Simulink documentation for descriptions of the parameters t, x, and y.
[cvdo,t,x,y] = cvsim(cvto, timespan, options) returns the time vector t, matrix of state values x, and matrix of output values y from the simulation, and overrides default simulation values with the values for timespan and options. Refer to the sim command in the Simulink Reference for descriptions of the parameters t, x, y, timespan, and options.
[cvdo,t,x,y] = cvsim(cvto, label, setupcmd) creates the cvtest object cvto and simulates it in one command. The arguments label and setupcmd are passed directly to the cvtest command, which creates the cvtest object cvto.
[cvdo1, cvdo2, ...] = cvsim(cvto1, cvto2, ...) executes the cvtest objects cvto1, cvto2, ... and returns the results in the set of cvdata objects cdvo1, cvdo2, ....
| cvsave | cvsimref | ![]() |
© 1984-2007 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments