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?
Show older comments
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;
Answers (1)
Rik
on 11 Apr 2022
0 votes
Short answer: yes. If you want to use it in another function you might want to store it in a property (app.SomePropertyYouNeedToCreate).
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!