Using the 'Name' property would return the handles to the required objects directly.
It is possible to obtain the handle to the currently visible Stateflow.Chart object by using the following command: >> s = sfroot; >> c = s.find('-isa', 'Stateflow.Chart', '-and', 'Visible', 1); What is the equivalent property for a Stateflow.Box object? The following command returns an empty 0x1 handle: >> b = s.find('-isa', 'Stateflow.Box', '-and', 'Visible', 1);
Kshitij Singh answered .
2025-11-20
>> c = s.find('-isa', 'Stateflow.Chart', '-and', 'Name', 'chart_name');
>> b = s.find('-isa', 'Stateflow.Box', '-and', 'Name', 'box_name');