Is there a way to show output directly on ui figure with App Designer?

15 ビュー (過去 30 日間)
sc
sc 2018 年 3 月 29 日
回答済み: alifedjoun 2019 年 2 月 17 日
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?

採用された回答

Birdman
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 件のコメント
sc
sc 2018 年 4 月 5 日
Do you know if is there a way to do this with 18a?

サインインしてコメントする。

その他の回答 (1 件)

alifedjoun
alifedjoun 2019 年 2 月 17 日
how did you display answer in command window?
thanks for any help

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by