You are on page 1of 1

RADIO BOTTON

function ordasc_Callback(hObject, eventdata, handles)


% hObject handle to ordasc (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)

% Hint: get(hObject,'Value') returns toggle state of ordasc


if(get(handles.ordasc,'Value'))
set(handles.orddes,'Eneable','Off');
else
set(handles.orddes,'Eneable','On');
end
% --- Executes on button press in orddes.
function orddes_Callback(hObject, eventdata, handles)
% hObject handle to orddes (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)

% Hint: get(hObject,'Value') returns toggle state of orddes


if(get(handles.orddes,'Value'))
set(handles.ordasc,'Eneable','Off');
else
set(handles.ordasc,'Eneable','On');
end

You might also like