dynamic range of slider in MATLAB GUI
4 ビュー (過去 30 日間)
古いコメントを表示
hey, if i want the slider range to be controlled by an input in the edit text, can i do that
0 件のコメント
採用された回答
Fangjun Jiang
2011 年 6 月 21 日
Yes, you can.
Range=get(handleEdit,'string');
set(handleSlider,'Max',str2num(Range));
0 件のコメント
その他の回答 (1 件)
Walter Roberson
2011 年 6 月 21 日
Yes. Your callback function for the edit uicontrol can set() the properties of the slider.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!