Change variable name in Stateflow model
显示 更早的评论
Is there a way to change a signal name that is referenced troughout a Stateflow model without having to go through the whole model and manually change its' name?
I figured it should do this automatically if I change the name in the Model Explorer but unfortunately not :(
采纳的回答
更多回答(1 个)
K E
2012-4-3
0 个投票
Perhaps it is possible from the command line, for example making use of Simulink.findVars . Take a look at Doug Eastman's solution to a related problem, this blog post, and this technical note.
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Functions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!