Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 24 Fév 2026 à 13:46

0 votes

If you open the Stateflow chart, on the tools strip of "Modeling", turn on the "Symbols Pane" and "Property Inspector", you will able to see and edit the properties of the chart data. Select the output data, set the "size" property. Then this warning will disappear.
Stateflow chart is more like "code". It is better to explicitly set the size of the data. 1 means scalar, [m,n] means matrix. -1 means inherit but sometimes it is hard to determine the size of the output data. That is why it is better to specify it.

Plus de réponses (0)

Catégories

En savoir plus sur Decision Logic dans Centre d'aide et File Exchange

Produits

Version

R2022a

Question posée :

le 24 Fév 2026 à 5:28

Commenté :

le 24 Fév 2026 à 14:15

Community Treasure Hunt

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

Start Hunting!

Translated by