Main Content
String Data
Text-based values
Strings are pieces of textual data. Use strings in Stateflow® charts to control chart behavior or create natural language output. Incorporate string data in your logging, messages, and custom code workflows.
Stateflow Syntax
Topics
- Manage Textual Information by Using Strings
Use text strings in Stateflow charts.
- Log String Data to the Simulation Data Inspector
View text strings in the Simulation Data Inspector and in the MATLAB® workspace.
- Send Messages with String Data
Communicate between charts by using messages with string payloads.