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.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- 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)