Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Slider Code GUI problem

조회 수: 1 (최근 30일)
Hassan Bosha
Hassan Bosha 2019년 2월 18일
마감: Rik 2019년 2월 18일
What is the code for the slider to move along the x axis on zooming or to move anytime ?
% --- Executes on slider movement.
function slider2_Callback(hObject, eventdata, handles)
% --- Executes during object creation, after setting all properties.
function slider2_CreateFcn(hObject, eventdata, handles)
% hObject handle to slider2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor',[.9 .9 .9]);
end
Any one can help with the code ?
  댓글 수: 1
Rik
Rik 2019년 2월 18일
Closed as duplicate.
If an answer doesn't work for you, write a comment there explaining your issue.

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by