MATLAB Help Center
Convert state transition table to Stateflow chart
Since R2023b
chart = convertToChart(table)
chart = convertToChart(table) converts the unlocked state transition table table to a Stateflow® chart.
chart
table
example
collapse all
This example uses:
This example shows how to convert a state transition table to a Stateflow® chart.
Open the example model and access the Stateflow.StateTransitionTableChart object.
Stateflow.StateTransitionTableChart
open_system("sf_debouncer_STT") table = find(sfroot,"-isa","Stateflow.StateTransitionTableChart"); view(table)
Convert the state transition table to a Stateflow chart.
chart = convertToChart(table); view(chart)
Stateflow state transition table to convert, specified as a Stateflow.StateTransitionTableChart object.
Introduced in R2023b
find
convertToSTT
Stateflow.Chart
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office