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.

 Risposta accettata

Fangjun Jiang
Fangjun Jiang il 13 Mag 2024

0 voti

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

2 Commenti

MUSKAN
MUSKAN il 14 Mag 2024
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.

Accedi per commentare.

Più risposte (0)

Categorie

Prodotti

Release

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by