run
クラス: Advisor.Application
名前空間: Advisor
モデル コンポーネントに対するモデル アドバイザー解析の実行
構文
例
モデル アドバイザー解析の実行
Application
オブジェクトを作成して、モデル アドバイザー解析を実行します。
Application
オブジェクトを作成します。
app = Advisor.Manager.createApplication();
モデルを開き、ルートの解析を RootModel
に設定します。
% Open the model openExample('sldemo_mdlref_basic'); % Set root model to sldemo_mdlref_basic model RootModel = 'sldemo_mdlref_basic'; % Set the Application object root analysis setAnalysisRoot(app,'Root',RootModel);
モデル アドバイザー解析を実行します。
run(app);
入力引数
app
— モデル アドバイザーのアプリケーション オブジェクト
Advisor.Application
オブジェクト
モデル アドバイザーのアプリケーション オブジェクト。Advisor.Application
オブジェクトとして指定します。Advisor.Application
オブジェクトを使用して、モデル参照階層に対してモデル アドバイザー チェックを実行できます。メソッド Advisor.Manager.createApplication
を使用して Advisor.Application
オブジェクトを作成します。
バージョン履歴
R2015b で導入
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)