Main Content

Simulink.CloneDetection.EquivalencyCheckResults class

Package: Simulink.CloneDetection

Results of equivalency check

Description

Use objects of the Simulink.CloneDetection.EquivalencyCheckResults class to view the results of an equivalency check.

Creation

Description

The Simulink.CloneDetection.checkEquivalency function creates an object of the Simulink.CloneDetection.EquivalencyCheckResults class when executed.

Properties

expand all

Equivalency check results, specified as a structure.

Pass result of equivalency check operation, specified as true or false.

Model used for clone replacement, specified as a character array.

Updated model with clones replaced, specified as a character array.

Examples

collapse all

  • equivalencyCheckResults = Simulink.CloneDetection.checkEquivalency(cloneReplacementResults)
    
    equivalencyCheckResults.List
    
    equivalencyCheckResults.List = 
      struct with fields:
        IsEquivalencyCheckPassed: 1
                   OriginalModel: 'm2m_ex_clone_detection_E/snapshot_2020_12_21_16_35_06_ex_clone_detection_E.slx'
                    UpdatedModel: 'ex_clone_detection_E.slx'
Introduced in R2021a