Stateflow and Stateflow Coder Release Notes    

Known Software and Documentation Problems

This section updates the Stateflow 4.0 documentation set, reflecting known Stateflow 4.0 software and documentation problems.

Many Open Windows Can Cause a Crash or Hang (Windows 95/98/Me)

On Microsoft Windows 95/98/Me platforms, if you keep about 12 Stateflow windows open, Stateflow may crash or hang. Note that the actual number of open windows that may cause this problem depends on the resources currently in use by other components and applications.

Calling MATLAB Functions From Stateflow Charts

Calling MATLAB functions from Stateflow charts using either the MATLAB namespace operator ml. or by using the function form ml() with an argument whose datatype is not double causes erroneous results. The workaround is to cast the argument as a double. For example:

where x and y are Stateflow data items whose data types are uint8 and int32 and the third argument is an integer has to be rewritten as

inserting casts around the non-double arguments.


 Stateflow 4.0 and Stateflow Coder 4.0 Release Notes