Borrar filtros
Borrar filtros

dynamic range of slider in MATLAB GUI

4 visualizaciones (últimos 30 días)
as banga
as banga el 21 de Jun. de 2011
hey, if i want the slider range to be controlled by an input in the edit text, can i do that

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 21 de Jun. de 2011
Yes, you can.
Range=get(handleEdit,'string');
set(handleSlider,'Max',str2num(Range));

Más respuestas (1)

Walter Roberson
Walter Roberson el 21 de Jun. de 2011
Yes. Your callback function for the edit uicontrol can set() the properties of the slider.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by