| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Stateflow |
| Contents | Index |
| Learn more about Stateflow |
Declare and use variable-size matrices and arrays in Embedded MATLAB functions in Stateflow charts the same way as in Embedded MATLAB Function blocks in Simulink models. For more information, see Using Variable-Size Data in Embedded MATLAB Function Blocks in the Simulink documentation.
To learn how to declare variable-size data at the chart level, see Using Variable-Size Data in Stateflow Charts.
![]() | Working with Enumerated Data in Embedded MATLAB Functions | Enhancing Readability of Generated Code for Embedded MATLAB Functions | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |