slvnvharnessopts
slvnvmakeharness
の既定のオプションの生成
説明
は、harnessopts
= slvnvharnessoptsslvnvmakeharness
を実行するための既定の構成を生成します。
例
既定のオプションを使用したカバレッジ ハーネスの作成
この例では、カバレッジ ハーネスにハーネス オプションを設定する方法を説明します。
open_system
を使用してモデルを開きます。
open_system('slvnvdemo_counter')
slvnvharnessopts
を使用してハーネス オプション オブジェクトを作成します。
harnessOpts = slvnvharnessopts
harnessOpts = struct with fields: harnessFilePath: '' modelRefHarness: 1 usedSignalsOnly: 0 harnessSource: 'Signal Editor'
harnessOpts
を使用し、slvnvmakeharness
を使用してハーネス ファイルを作成します。
harnessFile = slvnvmakeharness('slvnvdemo_counter', ... '', harnessOpts);
出力引数
harnessopts
— 既定のハーネス オプション
構造体
既定のハーネス オプション。構造体として返されます。構造体 harnessopts
には、以下のフィールドが含まれます。値を指定しない場合、既定値が使用されます。
フィールド | 説明 |
---|---|
harnessFilePath | ハーネス モデルを作成するファイル パスを指定します。無効なパスが指定された場合、 既定の設定: |
modelRefHarness |
既定の設定: |
usedSignalsOnly |
既定の設定: |
バージョン履歴
R2010b で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)