Main Content

Simulink.ModelTransform.CommonSourceInterpolation.RefactorResults class

Package:Simulink.ModelTransform.CommonSourceInterpolation

Refactored model results

Description

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

Creation

Description

TheSimulink.ModelTransform.CommonSourceInterpolation.refactorModelfunction creates an object of theSimulink.ModelTransform.CommonSourceInterpolation.RefactorResultsclass.

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 calledrefactorResults.

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

Version History

Introduced in R2021b