主要内容

金宝appSimulink.ModelTransform.CommonSourceInterpolation.refactorModel

使用预查找块替换插值

描述

refactorResults= 金宝appSimulink.ModelTransform.CommonSourceInterpolation.refactorModel (transformResults替换指定组的插值使用预查找块,并返回重构模型。

refactorResults= 金宝appSimulink.ModelTransform.CommonSourceInterpolation.refactorModel (transformResultspreferredModelName使用preferredModelName保存重构的模型。

例子

全部折叠

这个例子展示了如何在一个模型中使用预查找块替换已识别的插值,并将重构模型存储在变量中,refactorResults

refactorResults = 金宝appSimulink.ModelTransform.CommonSourceInterpolation.RefactorResults(transformResults)
refactorResults =带有属性的refactorResults: ModelName: 'mInterpolationOptim' ModelDirectory: " TraceabilityInfo: [4×1 containers。地图)

输入参数

全部折叠

使用预查找块标识的冗余插值组,指定为金宝appSimulink.ModelTransform.CommonSourceInterpolation.Results对象。

用于重构模型的模型名称,指定为字符向量。

输出参数

全部折叠

重构的模型,返回为金宝appSimulink.ModelTransform.CommonSourceInterpolation.RefactorResults对象。

版本历史

R2021b中引入