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 commentaire

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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

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

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by