Highlight graphical object in chart
thisObject.highlight
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
| The object you want to highlight. |
None
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;