Error with variable-size data in Atomic Subcharts

1 Ansicht (letzte 30 Tage)
I have a stateflow chart that contains an atomic subchart. In the atomic subchart I have a variable-sized array. When I try to run my model I receive the following error "Variable-size arrays are not allowed when a chart is used as an atomic subchart inside another chart. The presence of data 'local_variable_size' is therefore illegal." .
Why am I getting this error?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 19 Apr. 2019

This error is the result of an atomic subchart limitation. Atomic subcharts do not support variable-size arrays, to avoid this error please specify an array size.

Weitere Antworten (0)

Kategorien

Mehr zu Complex Logic finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by