How to add Slider properties with in the app designer?
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have created GUI, in that i wanted to write conditions based on the Slider min & slider Max values. But I tried to create
app.slider=uicontrol('Parent',app.UIFigure...
'Units','Normalized',...
'Position',[0.8 0.1 0.1 0.8],...
'Style','Slider',...
'BackgroundColor',[1 1 1],...
'Min',1,'Max',N_images,'Value',1,...
'Callback',@app.SliderValueChanging);
I am getting errors with. Can any one help me with this?
0 Kommentare
Antworten (1)
Simon Chan
am 15 Jun. 2022
It uses Limits rather than Min, Max to define the limits.
2 Kommentare
Simon Chan
am 15 Jun. 2022
sliderLimit = get(h.slider,'Limits') if sliderValue < sliderLimit(2) ………………
Siehe auch
Kategorien
Mehr zu Special Functions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!