Rename variables used in stateflows

1 vue (au cours des 30 derniers jours)
Herve Demezil
Herve Demezil le 20 Oct 2016
Commenté : Swarooph le 21 Oct 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 commentaire
Swarooph
Swarooph le 21 Oct 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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Complex Logic dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by