Clear Filters
Clear Filters

Is there any matlab command to highlight multiple objects in stateflow at a time?

2 views (last 30 days)
I tried with thisobject.highlight command, but its working to highlight one object only. If i tried to highlight multiple objects one by one then highlight selection of previous object moving to current object, but i want to highlight two objects so how can i?

Answers (1)

Ravi
Ravi on 28 Mar 2018
There is a way to highlight morethan one object within a given chart. Steps: 1. Get the Chart ID 2. Get the Object IDs you want to highlight withing a chart. Eg: sf('Select',chart.Id,[chartChildren(4).Id,chartChildren(5).Id,chartChildren(2).Id])

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!