App Designer: Update Text Area Value with parameter change
35 ビュー (過去 30 日間)
古いコメントを表示
In MATLAB App Designer, I want to change/update the value in the text area object with some parameter change? Could you explain how can I achieve this task?
0 件のコメント
回答 (2 件)
Cris LaPierre
2022 年 3 月 14 日
Now just figure out what action you want to trigger the change, and add the code to that callback function.
xiaokai an
2022 年 6 月 11 日
My answer may help you.
Pass 'app' as a parameter into the m file containing the logic program, and then use it in the m file
app. TextArea. Value = num2str(666666);
Such code rewrites the value of text.
1 件のコメント
xiaokai an
2022 年 6 月 11 日
When the program runs too fast, it may not display normally. You need to add the following pause code near the rewritten code
pause(1);
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!