字符串数据
基于文本的值
字符串是一段文本数据。使用 Stateflow® 图中的字符串来控制图行为或创建自然语言输出。将字符串数据纳入记录、消息和自定义代码工作流中。
Stateflow 语法
主题
- 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.