Main Content

Simulink.CloneDetection.checkEquivalency

Check equivalency of clone-replaced model and original model

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_clone_detection_B/snapshot_2020_12_02_17_27_54_ex_clone_detection_B.slx'
                UpdatedModel: 'ex_clone_detection_B.slx'

Input Arguments

collapse all

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

Introduced in R2021a