MATLAB: How to set the text position of a UICONTROL edit textbox in MATLAB

editlineMATLABmultilinemultipleposition;text;uicontrol

I have created a multi-line UICONTROL edit text box that contains more lines of text than can be displayed in the box at any one time. The slider bar on the right side controls which portion of text is displayed when I click and drag it.
I want to know if there is a way for me to control this positioning from the command line by accessing the handle structure of the UICONTROL.

Best Answer

The ability to programmatically control the position of a UICONTROL textbox's displayed data is not available in MATLAB.
As a workaround, consider using a listbox for your application as it does allow you to control the position of the displayed text.