필터 지우기
필터 지우기

Finding Stateflows under Library links

조회 수: 3 (최근 30일)
Sanat
Sanat 2014년 5월 6일
Greetings,
I wasn't able to find a related topic so here goes : I wanted to use the following method to search for stateflows :
rt = sfroot;
model = rt.find('-isa','Simulink.BlockDiagram','-and','Name',bdroot);
chartObj = model.find('-isa','Stateflow.Chart');
This would have been ideal, but for some reason, none of the stateflow charts inside library links can be found.
An alternative is to use the conventional find_system() with the FollowLinks switch. But I was wondering if I can use the first method and use some such switch to look inside library links. I would prefer the first method because I can work directly with the stateflow object and read out data types of the input and output signals.
Regards,
Sanat

답변 (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