MATLAB Answers

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

3 views (last 30 days)
Siva Prasad
Siva Prasad on 3 Feb 2016
Answered: Ravi on 28 Mar 2018
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])

Community Treasure Hunt

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

Start Hunting!