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 个评论

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.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Stateflow 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by