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