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 98/Me)

On Microsoft Windows 98/Me platforms, if you keep approximately 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 nondouble arguments.


 Warning on Loading Models from Previous Stateflow Versions