highlight

Highlight graphical object in chart

Syntax

thisObject.highlight

Description

This method highlights one of the following objects in a chart:

  • Box

  • State

  • Transition

  • Junction

  • Atomic box

  • Atomic subchart

  • Graphical function

  • MATLAB function

  • Simulink function

  • Truth table function

Arguments

thisObject

The object you want to highlight.

Returns

None

Examples

The following example shows how to highlight a state in a chart.

sf_car;
rt = sfroot;
ss_state = rt.find('-isa','Stateflow.State','Name','steady_state');
ss_state.highlight;
Introduced in R2012a