Rename variables used in stateflows

1 次查看(过去 30 天)
Herve Demezil
Herve Demezil 2016-10-20
评论: Swarooph 2016-10-21
Is there a way to rename variable in stateflows using a script method?
I want to do the same thing that the 'edit/find & replace in chart', but I want to do it by script.
PS: I'm using Matlab R2016a
  1 个评论
Swarooph
Swarooph 2016-10-21
I don't think there is a straight forward way to do what you want using scripts. Take a look at the general programmatic interface for Stateflow . You might have to use a collection of those techniques to get your desired result. Couple of examples to start with:
  1. Create and Access Charts Using the Stateflow API
  2. Access Existing Stateflow Objects

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Complex Logic 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by