Stateflow.Machine
Container for Stateflow blocks in a Simulink model
Description
From a Stateflow® perspective, Stateflow.Machine objects are equivalent to
        Simulink® models. A Stateflow.Machine object contains Stateflow.Chart, Stateflow.StateTransitionTableChart, Stateflow.TruthTableChart, and Stateflow.EMChart objects that
      represent the Stateflow charts, State Transition Table blocks, Truth Table
      blocks, and MATLAB Function blocks in a Simulink model. For more information, see Overview of the Stateflow API.
Creation
You automatically create a Stateflow.Machine object when you load a model
      that contains a Stateflow block or call the function sfnew. To access the Stateflow.Machine object, call the
        find function for the
        Simulink.Root object. For example, if your Simulink model is named myModel,
      enter:
machine = find(sfroot,"-isa","Stateflow.Machine",Name="myModel");
Properties
Examples
Version History
Introduced before R2006a