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!