Matlab/simulink + model advisor
Afficher commentaires plus anciens
I have customised top-level block library and sub-library linked to the top-library block for my model. My intention is to check the names of blocks within the sub-library block . How can i get the list of blocks from the sub-library?
with the following code , i can have all reference blocks from my model to aboth libraries( since there is direct link from my model to top_level library as well) but i want to look at the sub-library blocks only.
system=bdroot;
blocks = find_system(system,'FollowLinks','on',...
'LookUnderMasks','on',...
'LinkStatus','resolved');
refblocks = get_param(blocks,'ReferenceBlock');
Réponses (0)
Catégories
En savoir plus sur Modeling dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!