MATLAB Answers

Setting Live editor Slider Control minimum and maximum

6 views (last 30 days)
TJ on 18 Oct 2019
I am attempting to use the slider control in a live script, however I need the minimum and maximum values to be set by properties of workspace variables.
for example, I wish the maximum slider value to be the size of the 1st dimension of a matrix (8 bit Image)
For a slider in app designer i would use the following command to set minimum=1 and maximum=2
app.Slider.Limits=[1 2]
Is there a way to do the same in live editor?


Sign in to comment.

Answers (0)




Community Treasure Hunt

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

Start Hunting!

Translated by