Multiple lines in "Edit Text" box in GUIDE
조회 수: 7 (최근 30일)
이전 댓글 표시
Hi,
I'm making a GUI for my program and I wanted to allow multiple lines of text to be entered in an "Edit Text" box (email addresses) which I would then separate and continue with the program. I noticed I am not able to enter multiple lines using the Edit Text box...it just keeps writing on the same line. Is there a way around this? How can i allow the option of multiple lines?
댓글 수: 0
답변 (2개)
Paulo Silva
2011년 7월 18일
'edit' – Editable text fields enable users to enter or modify text values. Use editable text when you want text as input. If Max-Min>1, then multiple lines are allowed. For multi-line edit boxes, a vertical scrollbar enables scrolling, as do the arrow keys.
댓글 수: 3
raym
2023년 3월 2일
The string field is not a cell string, but a transposed char mat filled with many blanks.
Thus multiple-line edit is not a very good solution for real text with new-line functionalities.
huyen nguyen
2018년 4월 24일
How to create multiple data in edit text in matlab? help me, please. thank you.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!