File Exchange

image thumbnail

An Embedded MATLAB Approach for String Support in Stateflow

version (9.95 KB) by

This example demonstrates one approach using Embedded MATLAB to output strings from a Stateflow char



View License

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.

Comments and Ratings (0)


Updated license


Added copyright information.

MATLAB Release
MATLAB 7.3 (R2006b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today