Main Content


Highlight clone in a Simulink model


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.


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.

Version History

Introduced in R2021b