Is there a way to show output directly on ui figure with App Designer?
조회 수: 3 (최근 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.
댓글 수: 5
Birdman
2018년 4월 5일
Check the release notes to see if there is any difference between releases:
추가 답변 (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!