Main Content

Simulink.ModelTransform.CommonSourceInterpolation.RefactorResults Class

Namespace: Simulink.ModelTransform.CommonSourceInterpolation

Refactored model results

Since R2021b

Description

Use an object of the Simulink.ModelTransform.CommonSourceInterpolation.RefactorResults class to view the results of a refactored model after the Model Transformer removes redundant Interpolation Using Prelookup blocks.

Creation

Description

The Simulink.ModelTransform.CommonSourceInterpolation.refactorModel function creates an object of the Simulink.ModelTransform.CommonSourceInterpolation.RefactorResults class.

Properties

expand all

Name of the refactored model, specified as character array.

Name of the directory that the refactored model is saved, specified as character array.

List of blocks in the refactored model, specified as container map.

Examples

collapse all

This example shows how to analyze the results of refactored model operation and store the information in a variable called refactorResults.

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

Version History

Introduced in R2021b