You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Strings are commonly allocated in Stateflow through the use of an array that is a container of ASCII values. When reviewing the model, it is not immediately apparent what the ASCII values represent so it is ideal to be able to use actual character strings. This example demonstrates how an Embedded MATLAB function can be used to allocate character strings and assign a variable in Stateflow equal to the string.
Cite As
Chris Fillyaw (2026). An Embedded MATLAB Approach for String Support in Stateflow (https://se.mathworks.com/matlabcentral/fileexchange/13305-an-embedded-matlab-approach-for-string-support-in-stateflow), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.1 (9.95 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux