in GUI how can I make a text box to be multiline?
2 次查看(过去 30 天)
显示 更早的评论
采纳的回答
更多回答(1 个)
Chunru
2021-12-21
Use "uitextarea". The Value properties is cell array of strings so you can obtain the multiline text from ui.
3 个评论
Rik
2021-12-21
Just a note: this is what you should use if you're using a uifigure instead of a figure. AppDesigner is based on uifigure and GUIDE is based on figure (although you can write your own GUI without GUIDE or AppDesigner and use either).
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!