Stateflow    
Machine Properties

Stateflow API objects of type Machine have the properties shown in the table below. See also Machine Methods.

Property
Type
Acc
Description
Created
String
RO
Date of creation of this machine.
Creator
String
RW
Creator (default = 'Unknown') of this machine.
Debug.
Animation.
Enabled
Boolean
RW
If set to true (default), animation (simulation) is enabled. If false, disabled. Equivalent to the Enabled or Disabled radio button of the Animation section of the Debugger window.
Debug.
Animation.
Delay
Double
RW
Specify a value to delay (slow down) animation (default value = 0). Equivalent to the Delay (sec) field in the Animation section of the Debugger window.
Debug.
BreakOn.
ChartEntry
Boolean
RW
If set to true (default = false), set the chart entry breakpoint for all charts in this machine. Equivalent to the Chart Entry check box in the Debugger window.
Debug.
BreakOn.
EventBroadcast
Boolean
RW
If set to true (default = false), set the event broadcast breakpoint for all charts in this machine. Equivalent to the Event Broadcast check box in the Debugger window.
Debug.
BreakOn.
StateEntry
Boolean
RW
If set to true (default = false), set the state entry breakpoint for all charts in this machine. Equivalent to the State Entry check box in the Debugger window.
Debug.
DisableAllBreakpoints
Boolean
RW
If set to true (default = false), disable the use of all breakpoints in this machine. Equivalent to the Disable all check box in the Debugger window.
Debug.
RunTimeCheck.
CycleDetection
Boolean
RW
If set to true, check for cyclical behavior errors during a debug session. Equivalent to the Detect Cycles check box in the Debugger window.
Debug.
RunTimeCheck.
DataRangeChecks
Boolean
RW
If set to true (default), check for data range violations during a debug session. Equivalent to the Data Range check box in the Debugger window.
Debug.
RunTimeCheck.
StateInconsistencies
Boolean
RW
If set to true (default), check for state inconsistencies during a debug session. Equivalent to the State Inconsistency check box in the Debugger window.
Debug.
RunTimeCheck.
TransitionConflicts
Boolean
RW
If set to true (default), check for transition conflicts during a debug session. Equivalent to the Transition Conflict check box in the Debugger window.
Description
String
RW
Description of this state (default = ''). Equivalent to entering a description in the Description field of the properties dialog for this machine.
Dirty
Boolean
RO
If true (default), this model has changed since it was opened or saved.
Document
String
RW
Document link to this machine (default = ''). Equivalent to entering the Document Link field of the properties dialog for this machine.
FullFileName
String
RO
Full path name of file (default value = '') under which this machine (model) is stored.
Iced
Boolean
RO
Equivalent to property Locked (default = false) except that this property is used internally to lock this model from being changed during activities such as simulation.
Id
Integer
RO
Unique identifier assigned to this machine to distinguish it from other objects loaded in memory.
isLibrary
Boolean
RO
If true (default = false), specifies that the current model builds a library and not an application.
Locked
Boolean
RW
If set to true (default = false), prevents user from changing any Stateflow chart in this model.
Machine
Machine
RO
A handle to the Machine object for this Machine object, that is, this Machine object.
Modified
String
RW
Comment area (default = '') for entering date and name of modification to this model.
Name
String
RO
Name of this model (default = 'untitled') set when saved to disk.
SfVersion
Double
RO
Full version number for current Stateflow. For example, the string '41112101' appears for Stateflow version 4.1.1 and MATLAB version 12.1. The remaining '01' is for internal use.
Tag
Any Type
RW
A field you can use to hold data of any type for this machine (default = []).
Version
String
RW
Comment string (default = 'none') for recording the version of this model.


  Editor Properties Chart Properties