필터 지우기
필터 지우기

dynamic range of slider in MATLAB GUI

조회 수: 4 (최근 30일)
as banga
as banga 2011년 6월 21일
hey, if i want the slider range to be controlled by an input in the edit text, can i do that

채택된 답변

Fangjun Jiang
Fangjun Jiang 2011년 6월 21일
Yes, you can.
Range=get(handleEdit,'string');
set(handleSlider,'Max',str2num(Range));

추가 답변 (1개)

Walter Roberson
Walter Roberson 2011년 6월 21일
Yes. Your callback function for the edit uicontrol can set() the properties of the slider.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by