Stateflow-state-machine with variable sized in-/outputs
Show older comments
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
Kaustubha Govind
on 8 May 2013
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.
Answers (0)
Categories
Find more on Stateflow in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!