using sliders to scroll up/down the result appears in static text object

hello I have written a simple code to generate a set of numbers from (1-1000).however results appear in the static text are incomplete. how can I use sliders to scroll to the end of result?

2 comentarios

Jan
Jan el 15 de Ag. de 2018
Editada: Jan el 15 de Ag. de 2018
The question is not clear yet. Please edit the text and add further details: What does "incomplete" mean?
hello thank you for reading, the output is about (1000 row) and the static text will only show 20 to 30 rows of the result due to its size, I need a slider to enable navigating the result to the end

Iniciar sesión para comentar.

Respuestas (1)

Jan
Jan el 15 de Ag. de 2018
Use a 'listbox' instead of a 'text' uicontrol, because it has a scroll-bar automatically.

Categorías

Preguntada:

el 15 de Ag. de 2018

Comentada:

el 15 de Ag. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by