Refactored model results
Use an object of the
class to view the results of a refactored model after the Model Transformer removes
redundant Interpolation Using Prelookup blocks.
function creates an object of the
ModelName— Refactored model name
Name of the refactored model, specified as character array.
ModelDirectory— Refactored model directory
Name of the directory that the refactored model is saved, specified as character array.
TraceabilityInfo— Map containing the refactored blocks info
List of blocks in the refactored model, specified as container map.
This example shows how to analyze the results of refactored model operation
and store the information in a variable called
refactorResults = Simulink.ModelTransform.CommonSourceInterpolation.RefactorResults(transformResults)
refactorResults = RefactorResults with properties: ModelName: 'ex_model_transformer' ModelDirectory: '' TraceabilityInfo: [4×1 containers.Map]