Rename variables used in stateflows

2 visualizzazioni (ultimi 30 giorni)
Herve Demezil
Herve Demezil il 20 Ott 2016
Commentato: Swarooph il 21 Ott 2016
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 Commento
Swarooph
Swarooph il 21 Ott 2016
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

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Decision Logic in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by