Stateflow User's Guide Previous page   Next Page

Typing Data by Using an Alias

You can specify the type of Stateflow data by using a Simulink data type alias (for more information, see Simulink.AliasType in the Simulink Reference documentation). Once you build the model, the CompiledType column of the Model Explorer gives the actual type used in the compiled simulation application. In the following example, the Stateflow block local data y is typed by the alias MyFloat, with BaseType set to single.


Previous page  Typing Data by Using the Type of Other Data Sizing Stateflow Data Next page

© 1994-2005 The MathWorks, Inc.