How to find out which subsystem is Stateflow using M script?

I want to find out which subsystem is Stateflow using M-Script. In Matlab 2010b we can find out which subsystem is stateflow using some commands, but same commands did not work in Matlab 2013b. Can any one please give me an alternative solution that will work for both matlab 2010b and 2013b.
Code: In 2010b (Select any Stateflow from model)
>> a = get(gcbh)
>> a.MaskType
ans =
Stateflow
Code: In 2013b( Select any Stateflow from model)
>> a = get(gcbh)
>> a.MaskType
ans =
''

답변 (0개)

카테고리

도움말 센터File Exchange에서 Stateflow에 대해 자세히 알아보기

제품

질문:

2015년 4월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by