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

1 次查看(过去 30 天)
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