Set cursor position in multiline uicontrol edit box

5 次查看(过去 30 天)
I'm trying to use a multiline uicontrol('Style','edit') box as a console of sorts to display feedback to the user. The problem I'm having is, as I add more and more text to the box and it fills up beyond it's height, I can only see as much text as the box is tall. Is there a way to manually set the cursor point in a uicontrol edit box?

回答(1 个)

Paulo Silva
Paulo Silva 2011-7-6
  3 个评论
Paulo Silva
Paulo Silva 2011-7-6
Unfortunately Mathworks doesn't show much love for MATLAB GUIs, you can only do basic things with the GUIs and you must use java for advanced things like the one you request.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by