Why does my Simulink function in a Stateflow chart give variable undefined errors for variables defined in the chart?
Show older comments
I have a Simulink function defined in a Stateflow chart and it is trying to use the input to the Stateflow chart (e.g. "x") as the value of a Constant block. When I use "x" in the Simulink function I get an error saying that "x" is not defined. How do I fix this?
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!