1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
% --- Executes on button press in CH2.
function CH2_Callback(hObject, eventdata, handles)
% hObject handle to CH2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global canalactif
canalactif='CH2';
set(handles.ongletCH1, 'Visible', 'off');
set(handles.ongletCH2, 'Visible', 'on');
set(handles.ongletCH3, 'Visible', 'off');
set(handles.cannaux, 'Title', 'CH2');
% --- Executes on button press in CH3.
function CH3_Callback(hObject, eventdata, handles)
% hObject handle to CH3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global canalactif
canalactif='CH3';
set(handles.ongletCH1, 'Visible', 'off');
set(handles.ongletCH2, 'Visible', 'off');
set(handles.ongletCH3, 'Visible', 'on');
set(handles.cannaux, 'Title', 'CH3'); |
Partager