Main Content
Stateflow.Unit
Unit of measurement for input and output data
Description
Use a Stateflow.Unit
object to specify the unit of measurement
for an input or output data object. For more information, see Specify Units for Stateflow Data.
Creation
Each data object and message has its own Stateflow.Unit
object. However,
the object only applies for Stateflow.Data
objects when the
Scope
property is set to "Input"
or
"Output"
. To access the Stateflow.Unit
object, use the
Props.Unit
property for the Stateflow.Data
object.
Properties
Examples
Version History
Introduced before R2006a