Main Content

Simulink.CloneDetection.checkEquivalency

Check equivalency of clone-replaced model and original model

Since R2021a

Description

Simulink.CloneDetection.checkEquivalency(cloneReplacementResults) checks the equivalency of a model that was updated to replace clones and the original model using a cloneReplacementResults object.

Examples

collapse all

equivalencyCheckResults = Simulink.CloneDetection.checkEquivalency(cloneReplacementResults)
equivalencyCheckResults =
  equivalencyCheckResults with properties:
    List: [1×1 struct]

equivalencyCheckResults.List = 
  struct with fields:
    IsEquivalencyCheckPassed: 1
               OriginalModel: 'm2m_ex_detect_clones_B/snapshot_2020_12_02_17_27_54_ex_detect_clones_B.slx'
                UpdatedModel: 'ex_detect_clones_B.slx'

Input Arguments

collapse all

Results of a replace clones operation, specified as a Simulink.CloneDetection.ReplacementResults object.

Version History

Introduced in R2021a