How do I modify the default junction size for the Stateflow Editor?
1 view (last 30 days)
Show older comments
I would like my Stateflow charts to have a default junction size that is different from the current defaults.
Accepted Answer
MathWorks Support Team
on 22 Jan 2010
The ability to change the default junction size for the Stateflow Editor is not available in Stateflow since there are no chart- or machine-level properties controlling these. As a workaround, write functions to modify properties for objects created in MATLAB code as follows:
sfnew
save_system(gcs,'un1')
rt = sfroot;
m = rt.find('-isa','Stateflow.Machine','Name','un1');
chart = m.findDeep('Chart')
%get a handle to the junction
j = Stateflow.Junction(chart)
jp = j.Position
jp.Radius = 25 %Modify the Radius
For information on the default chart level properties that can be modified, refer to the solution linked below:
0 Comments
More Answers (0)
Categories
Find more on Stateflow Charts 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!