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 Comment

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.

Sign in to comment.

Answers (0)

Categories

Products

Asked:

on 8 May 2013

Community Treasure Hunt

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

Start Hunting!