how to use "range" in uislider

3 ビュー (過去 30 日間)
shamal
shamal 2024 年 5 月 17 日
コメント済み: Stephen23 2024 年 5 月 20 日
fig = uifigure;
s = uislider(fig,"range",1:50);
Error using uislider
Unrecognized property range for class Slider.
Error in untitled6 (line 2)
s = uislider(fig,"range",1:50);
i want this :
  9 件のコメント
shamal
shamal 2024 年 5 月 19 日
編集済み: shamal 2024 年 5 月 19 日
From my knowledge it's a bit difficult.. Here I made a reply to my problem (matlab_test.mlapp).. Can you edit the attached file with the solution? Thank you
Stephen23
Stephen23 2024 年 5 月 20 日
From my knowledge it's a bit difficult."
Certainly it would be quite fiddly to implement.
A simpler approach is to have some fixed (i.e. unmoving) e.g. UICONTROL displaying the values.

サインインしてコメントする。

回答 (1 件)

Voss
Voss 2024 年 5 月 18 日
  2 件のコメント
shamal
shamal 2024 年 5 月 18 日
編集済み: shamal 2024 年 5 月 18 日
it's not correct..
I want double button to fix limit
see pics above
Voss
Voss 2024 年 5 月 18 日
s = uislider(fig,"range","Limits",[1 50]);

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by