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

4 views (last 30 days)
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

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 22 Jul 2013
Try:
find_system('test','BlockType','M-S-Function')

More Answers (0)

Categories

Find more on Block and Blockset Authoring in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!