Main Content

Simulink.ModelTransform.CommonSourceInterpolation.RefactorResults クラス

名前空間: Simulink.ModelTransform.CommonSourceInterpolation

リファクタリングされたモデル結果

R2021b 以降

説明

Simulink.ModelTransform.CommonSourceInterpolation.RefactorResults クラスのオブジェクトを使用して、モデル トランスフォーマーが冗長な Interpolation Using Prelookup ブロックを削除した後に、リファクタリングされたモデルの結果を表示します。

作成

説明

関数 Simulink.ModelTransform.CommonSourceInterpolation.refactorModel は、Simulink.ModelTransform.CommonSourceInterpolation.RefactorResults クラスのオブジェクトを作成します。

プロパティ

すべて展開する

リファクタリングされたモデルの名前。文字配列として指定します。

リファクタリングされたモデルが保存されているディレクトリの名前。文字配列として指定します。

リファクタリングされたモデル内のブロックのリスト。コンテナー マップとして指定します。

すべて折りたたむ

この例では、リファクタリングされたモデル演算の結果を解析して情報を refactorResults という変数に格納する方法を示します。

  • refactorResults = Simulink.ModelTransform.CommonSourceInterpolation.RefactorResults(transformResults)
    
    refactorResults =
    
      RefactorResults with properties:
    
               ModelName: 'ex_interpolation_optimize'
          ModelDirectory: ''
        TraceabilityInfo: [4×1 containers.Map]
    

バージョン履歴

R2021b で導入