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

1 view (last 30 days)
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 Comments
Jan
Jan on 15 Aug 2018
Edited: Jan on 15 Aug 2018
The question is not clear yet. Please edit the text and add further details: What does "incomplete" mean?
mia saam
mia saam on 15 Aug 2018
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

Sign in to comment.

Answers (1)

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

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!