Main Content

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

getConfigSet

クラス: slreportgen.report.ModelConfiguration
名前空間: slreportgen.report

モデル コンフィギュレーション レポーターからアクティブなコンフィギュレーション セットを取得する

R2020b 以降

構文

configSetObj = getConfigSet(reporter)

説明

configSetObj = getConfigSet(reporter) は、指定された slreportgen.report.ModelConfiguration レポーターでレポートされるアクティブなモデル コンフィギュレーション セットを表す Simulink.ConfigSet オブジェクトを返します。

入力引数

すべて展開する

モデル コンフィギュレーション レポーター。slreportgen.report.ModelConfiguration オブジェクトとして指定します。

出力引数

すべて展開する

モデル コンフィギュレーション セット オブジェクト。Simulink.ConfigSet オブジェクトとして指定します。

すべて展開する

slrgex_sf_car モデルの slreportgen.report.ModelConfiguration レポーターを作成し、そのレポーターに関連付けられたアクティブなコンフィギュレーション セット オブジェクトを取得します。

次のコマンドを実行して、この例で使用するサポート ファイルにアクセスします。

openExample('rptgenext/SimulinkReportGeneratorFilesExample');
model = "slrgex_sf_car";
load_system(model);
reporter = slreportgen.report.ModelConfiguration(model);
configSet = getConfigSet(reporter)
configSet =

	Simulink.ConfigSet

バージョン履歴

R2020b で導入