Stateflow output string error

8 views (last 30 days)
MUSKAN
MUSKAN on 12 May 2024
Commented: Fangjun Jiang on 14 May 2024
"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.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 13 May 2024
Press Ctrl+H at the model, on the left, navigate to the chart, on the right, click the output data, change its size.
  2 Comments
MUSKAN
MUSKAN on 14 May 2024
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 on 14 May 2024
This is #2 output. Change the "size" there if this is reported by that error.

Sign in to comment.

More Answers (0)

Categories

Find more on Complex Logic in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!