www.gusucode.com > simulink 案例源码程序 matlab代码 > simulink/FindSystemReturnLinesandAnnotationsasHandlesExample.m

    %% Return Lines and Annotations as Handles
% Get the handles of all lines and annotations in the |vdp| system. With |'FindAll'|, the function returns handles regardless of how you specify the system to search. 

%%
load_system('vdp');
L = find_system('vdp','FindAll','on','type','line')
A = find_system('vdp','FindAll','on','type','annotation')