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

12 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by