I'm using the Stateflow API's view
method to select/highlight elements in a Stateflow chart, but I want to clear the highlight afterward. I know I can get a handle to the Stateflow object and call the view
method on it to highlight it:
theObject = find(sfroot, 'Id', <id number>);
theObject.view;
...but since view
takes no arguments and is called on an object's handle, I'm not sure how to set the selection to "nothing" after I'm done. What is the recommended way to clear the highlight afterward?