sldvruntestopts
Generate simulation or execution options for sldvruntest or
sldvruncgvtest
Description
Examples
Create runOpts for the
sldvdemo_cruise_control model. Then, analyze the model by using
sldvruntest.
Open the sldvdemo_cruise_control example model.
openExample('sldv/CruiseControlTestGenerationExample',... 'supportingFile', 'sldvdemo_cruise_control');
Set the sldvoptions and create runOpts for
sldvruntest.
opts = sldvoptions; opts.Mode = 'TestGeneration'; opts.SaveHarnessModel = 'on'; opts.SaveReport = 'off'; [ status, files ] = sldvrun('sldvdemo_cruise_control', opts); runOpts = sldvruntestopts;
Analyze the model by using the runOpts.
[ outData ] = sldvruntest('sldvdemo_cruise_control',... files.DataFile, runOpts);
Input Arguments
Generates a default runOpts structure for
sldvruncgvtest.
Example: runcgvtest_options =
sldvruntestopts('cgv');
Output Arguments
A structure whose fields specify the configuration of sldvruntest or sldvruncgvtest. If you do not specify a field
name, sldvruncgvtest or sldvruntest uses the
default value. runOpts can contain the fields listed in the
table.
Field Name | Description |
|---|---|
testIdx | Test case index array to simulate or execute from
If |
signalLoggingSaveFormat | Available only for Specifies the format of signal logging data for signals that connect to the outport of the model and for intermediate signals that are configured for logging. If you specify
Default:
|
coverageEnabled | Available only for If
Default:
|
coverageSetting | Available only for
If Default:
|
allowCopyModel | Available only for If
you have not configured If If Note If you have not configured the top-level model or
any referenced models to execute test
cases, |
cgvComType | Available only for
Defines the software-in-the-loop (SIL) or processor-in-the-loop (PIL) approach for CGV:
|
cgvConn | Available only for
Specifies mode of execution for CGV:
|
| Available only for If
Default:
|
| Available only for If
Default:
|
Alternatives
Create a runOpts object for sldvruntest from the
MATLAB® Command Window.
Version History
Introduced in R2010b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)