Problem with multi-line in TextEdit box
Show older comments
Hi, I cannot find a way to display the text in multiple lines in text edit box. I read that I all I need is to set property Max to be larger than Min (e.g. Max = 2), but this does not do the trick. For test purpose I have simple GUI, with only one text edit box and one button. "Pushbutton1_Callback" function executes the following code:
for i =1 :100
set(handles.edit1,'String', [num2str(i), ' test'] );
pause(0.1);
end
However, all i get on the box is single line. How can I fix this to obtain multiple lines like this:
1 test
2 test
3 test ....
Thank you!
Accepted Answer
More Answers (0)
Categories
Find more on Characters and Strings 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!