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

2 次查看(过去 30 天)
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 个评论
Jan
Jan 2018-8-15
编辑:Jan 2018-8-15
The question is not clear yet. Please edit the text and add further details: What does "incomplete" mean?
mia saam
mia saam 2018-8-15
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

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by