"Ravi" wrote in message <email@example.com>... > Im trying to code for slider where it moves an axis (picture) up and down on a matlab gui. When the user reaches a certain height on the slider and presses a pushbutton that submits the height, I would like a static text box to appear displaying if they got the height correct or not. I have no idea how I would start coding this, If anyone could help I would greatly appreciate it. > > THANKS IN ADVANCE!!!