cvsimref

www.kxcad.net Home > CAE Software Index > MATLAB Index >


Your Ad Here

Simulate and return model coverage results for referenced models

Syntax

cvdg = cvsimref(topModelName)
cvdg = cvsimref(topModelName, cvtg)
[cvdg,t,x,y] = cvsimref(topModelName, cvtg)
[cvdg,t,x,y] = cvsimref(topModelName, cvtg, timespan, options)
[cvdg1, cvdg2, ...] = cvsimref(topModelName, cvtg1, cvtg2, ...)

Description

Use the cvsimref function to record coverage for referenced models in a hierarchy. For more information, see Model Coverage for Referenced Models.

cvdg = cvsimref(topModelName) simulates the top model that topModelName specifies, collects model coverage data, and returns the results in the cv.cvdatagroup object cvdg.

cvdg = cvsimref(topModelName, cvtg) executes the cv.cvtestgroup object cvtg by starting a simulation run for the corresponding top model, topModelName. The results are returned in the cv.cvdatagroup object cvdg.

[cvdg,t,x,y] = cvsimref(topModelName, cvtg) returns the time vector t, matrix of state values x, and matrix of output values y from the simulation. Refer to the sim function in the Simulink Reference for descriptions of the parameters t, x, and y.

[cvdg,t,x,y] = cvsimref(topModelName, cvtg, 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 function in the Simulink Reference for descriptions of the parameters t, x, y, timespan, and options.

[cvdg1, cvdg2, ...] = cvsimref(topModelName, cvtg1, cvtg2, ...) executes the cv.cvtestgroup objects cvtg1, cvtg2, ... and returns the results in the set of cv.cvdatagroup objects cdvg1, cvdg2, ....

See Also

cv.cvdatagroup, cv.cvtestgroup

  


© 1984-2007 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments

Your Ad Here