2011-09-16 3 views

답변

0

다음 사항이 적용되는지 여부는 분명하지 않지만로드 된 그림에서 구성 요소 (FINDOBJ)를 선택하고 새 그림으로 복사/이동하여 비슷한 질문을 this answer에 적용 할 수 있습니다.

빠른 예 :

%# create and save block.fig 
plot(1:10) 
uicontrol('style','text','string','hello') 
hgsave('block.fig') 
close all 

%# create new figure, load saved .fig 
hFig = hgload('block.fig'); 
h = figure; 

%# copy the components you want (also think of using the 'Tag' property) 
copyobj(findobj(hFig,'type','uicontrol'), h) 

%# delete loaded .fig 
delete(hFig) 
관련 문제