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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- 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)