フィルターのクリア

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 Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by