slvnvruncgvtest
Use Code Generation Verification (CGV) API to execute model
Syntax
Description
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 an Embedded Coder® license.
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 - allowCopyModelin- runOptsto be- trueand rerun- slvnvruncgvtest.- slvnvruncgvtestmakes a copy of your model configured for executing test cases, and invokes the CGV API.
You can not run slvnvruncgvtest on a model that uses
                        configuration set references. Consider changing your model to contain a copy
                        of the configuration set instead of a reference to it.
Version History
Introduced in R2010b
See Also
cgv.CGV (Embedded Coder) | slvnvlogsignals | slvnvruntest | slvnvruntestopts
Topics
- Programmatic Code Generation Verification (Embedded Coder)