S-Function BlockType

10 visualizaciones (últimos 30 días)
Sourabh Patil
Sourabh Patil el 28 de En. de 2020
Respondida: Danijel Domazet el 7 de Oct. de 2020
Hi
In my model i have used below blocks
{'Copy_of_temp1/Function-Call↵Generator1'}
{'Copy_of_temp1/Lookup↵Table↵Dynamic'}
{'Copy_of_temp1/S-Function'}
i need to find only s fuction blocks present in my model but after using find_system('Blocktype') along with s function above blocks also getting counted.
how to find only S-fuction block?
same case with DocBlock,Cosine block, Model Info Block & Resettable subsystem.

Respuestas (1)

Danijel Domazet
Danijel Domazet el 7 de Oct. de 2020
Try:
s_blocks = find_system(model, 'SearchDepth', 1, 'BlockType','S-Function');

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by