Stateflow-state-machine with variable sized in-/outputs

Hi,
I have a stateflow-state-machine. With static input and output size everything works fine. But I want to make a calculation more general and changed the in-/outputs to variable size.
Result of Build: Parsing successful for machine: ...
BUT: Model error; source: unknown: nInputs == aCallExpr->numInputs()
Model has compile errors.
Code generation failed nInputs == aCallExpr->numInputs()
the last error is an Assertion error with same description as for the first model error.
Should I set some special preferences for the compiler?
Thanks,
Konstantin

1 comentario

You should be seeing an error message and not an assertion. I would recommend reporting this as a bug to MathWorks Support. You may also want to look at Rules for Using Variable-Size Data in Stateflow Charts.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Stateflow en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 8 de Mayo de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by