An Embedded MATLAB Approach for String Support in Stateflow

This example demonstrates one approach using Embedded MATLAB to output strings from a Stateflow char
1,6K descargas
Actualizado 1 sep 2016

Ver licencia

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.

Citar como

Chris Fillyaw (2024). An Embedded MATLAB Approach for String Support in Stateflow (https://www.mathworks.com/matlabcentral/fileexchange/13305-an-embedded-matlab-approach-for-string-support-in-stateflow), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2006b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Stateflow en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.1.0.1

Updated license

1.1.0.0

Added copyright information.

1.0.0.0