I'm new to Matlab GUI. I'm trying to get the initial position of the slider before the person clicks on the arrows or drags the slider.
I want to be able to get the change in the slider position (dt) and since I can already get the end position of the slider from the callback, how do I get the previous position?
Is addlistner the solution? If so I have no idea how it works so an explanation would be very helpful :)
Alternatively, I know the value is only given in the callback when the user unclicks the mouse from the slider. Is there a way to get the slider value when the user clicks the slider? (i.e. the starting position of the slider)