slvnvruncgvtest
Invoke Code Generation Verification (CGV) API and execute model
Syntax
Description
invokes the Code Generation Verification (CGV) API methods and
executes the cgvObject
= slvnvruncgvtest(model
, dataFile
)model
by using
all test cases in
dataFile
.
cgvObject
is a
cgv.CGV
object that
slvnvruncgvtest
creates during the
execution of the model
.
slvnvruncgvtest
sets the execution mode
for cgvObject
to'sim'
by
default.
Examples
Input Arguments
Output Arguments
Tips
To run slvnvruncgvtest
, you must have the Embedded Coder® software.
If your model has parameters that are not configured for executing test cases
with the CGV API, slvnvruncgvtest
reports warnings
about the invalid parameters. If you see these warnings, do one of the
following:
Modify the invalid parameters and rerun
slvnvruncgvtest
.Set
allowCopyModel
inrunOpts
to betrue
and rerunslvnvruncgvtest
.slvnvruncgvtest
makes a copy of your model configured for executing test cases, and invokes the CGV API.
Version History
See Also
cgv.CGV
(Embedded Coder) | slvnvlogsignals
| slvnvruntest
| slvnvruntestopts