Setting port dimensions setting

13 visualizaciones (últimos 30 días)
VINAY
VINAY el 24 de Feb. de 2026 a las 5:28
Comentada: VINAY hace alrededor de 16 horas
please tell me,what is port dimensions and why do we need to set value as 1

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang hace alrededor de 4 horas
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.

Más respuestas (0)

Categorías

Más información sobre Decision Logic en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by