How to write the code for Appdesigner for when a user inputs the data and then store in a variable, inorder to use that value for a later caluclation?
3 ビュー (過去 30 日間)
古いコメントを表示
How to write the callback function for user inputted data and store that value for a later calculation?
Is this how you do it?
T = app.DurationEditField.Value;
0 件のコメント
回答 (1 件)
Rik
2022 年 4 月 11 日
Short answer: yes. If you want to use it in another function you might want to store it in a property (app.SomePropertyYouNeedToCreate).
0 件のコメント
参考
カテゴリ
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!