How to find level-2 s-functions in model?

조회 수: 2 (최근 30일)
Kevin
Kevin 2013년 7월 22일
Hey everybody,
I'd like to search a simulink model for Level-2 s-functions. So, when creating a script to do that and therefore entering the following lines (modelname = 'test'): open 'test' find_system('test','BlockType','S-Function')
I am able to find all Level-1 s-functions. Anyway, that approach doesn't work when searching for level-2 files. Do you have any workaround to achieve that aim?
Thanks for your advice.
Kev

채택된 답변

Kaustubha Govind
Kaustubha Govind 2013년 7월 22일
Try:
find_system('test','BlockType','M-S-Function')

추가 답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by