Why does my Simulink function in a Stateflow chart give variable undefined errors for variables defined in the chart?
显示 更早的评论
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?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!