Stateflow output string error

2 次查看(过去 30 天)
"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
Press Ctrl+H at the model, on the left, navigate to the chart, on the right, click the output data, change its size.
  2 个评论
MUSKAN
MUSKAN 2024-5-14
well I can't seem to find "output data"
I've found this anyhow but I'm not sure about it.
Fangjun Jiang
Fangjun Jiang 2024-5-14
This is #2 output. Change the "size" there if this is reported by that error.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile 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