Stateflow output string error

"String buffer overflow. Increase the maximum length of the output string data type."
this is the error showing up as soon as try to run my simulink model which contains stateflow chart.
the stateflow chart contains some strings that needs to be the output and can anybody tell me how can I increase the max length.

 采纳的回答

Fangjun Jiang
Fangjun Jiang 2024-5-13

0 个投票

Press Ctrl+H at the model, on the left, navigate to the chart, on the right, click the output data, change its size.

2 个评论

well I can't seem to find "output data"
I've found this anyhow but I'm not sure about it.
This is #2 output. Change the "size" there if this is reported by that error.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink Functions 的更多信息

产品

版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by