Main Content

Simulink.CloneDetection.EquivalencyCheckResults Class

Namespace: Simulink.CloneDetection

Results of equivalency check

Since R2021a

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_detect_clones_E/snapshot_2020_12_21_16_35_06_ex_detect_clones_E.slx'
                UpdatedModel: 'ex_detect_clones_E.slx'

Version History

Introduced in R2021a