I'm trying to determine if there is a simple way to find all blocks from a certain library, e.g. Discrete, using the 'find_system' command.
Obviously, i could use find_system(sys, 'BlockType', ... ) for each type of block in the Discrete library, for example, but I was wondering if it is possible to find all blocks at once using some other block parameter.
Thanks,
RB
load_system('simulink');
disc_blocks=find_system('simulink/Discrete');
close_system('simulink');