1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| fontion vocallo
global handles
handles(1)=figure('units','pixels',...
'position',[250 250 800 700],...
'name','VOCALLO',...
'tag','interface');
handles(2)=uicontrol('style','pushbutton',...
'units','normalized',...
'position',[0.7 0.705 0.08 0.04],...
'callback',@run_prgm,...
'tag','bouton_RUN');
handles(3)= axes('units','pixels',...
'Position',[500 30 250 150]);
end
%----------------------------------
function run_prgm(obj,event)
global handles
extraction;
plot(handles(3), data(:,1),data(:,2));
end
%---------------------------------- |
Partager