필터 지우기
필터 지우기

How to find all Graphical function inside a chart

조회 수: 1 (최근 30일)
Mohan Mishra
Mohan Mishra 2019년 1월 19일
댓글: Mark McBroom 2019년 1월 21일
How to find all Graphical function inside a chart

채택된 답변

Mark McBroom
Mark McBroom 2019년 1월 19일
Use the Stateflow API as described here.
h = sfroot;
gf = h.find('-isa','Stateflow.Function')
  댓글 수: 2
Mohan Mishra
Mohan Mishra 2019년 1월 20일
By using this i get answer as below :
gf = 0*1 handle
By using this How can i get the name of function that are used inside the chart
Mark McBroom
Mark McBroom 2019년 1월 21일
Are you sure you have Graphical Functions in your chart? The return of a 0*1 handle indicates that no graphical functions were found.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by