Is there a way to show output directly on ui figure with App Designer?
4 次查看(过去 30 天)
显示 更早的评论
I'm creating an user interface with App Designer and I'd like to insert output (like answer of prompt) directly on UI Figure and not in the Command Window. Is this possible?
0 个评论
采纳的回答
Birdman
2018-3-29
It is possible. I hope I understood you correctly. I made a simple app where I used Label, Edit Field(Numeric) and Button. I simply write a number in the edit field and when I click the button, it is automatically displayed on UIFigure by the help of Label. The callback code is
app.Label.Text=string(app.EditField.Value);
Hope this helps.
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop uifigure-Based Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!