Main Content

Simulink.CloneDetection.highlightClone

Highlight clone in a Simulink model

Description

Simulink.CloneDetection.highlightClone(cloneResults, subsystem) opens the Simulink model used in findClones function and highlights the subsystem specified. If the specified model is not open, this command opens it.

Examples

collapse all

Simulink.CloneDetection.highlightClone(cloneResults, 'ex_clone_detection/Subsystem')

Input Arguments

collapse all

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

Subsystem path in a model, specified as a character vector.

Introduced in R2021b