How to input, show, correct and save data using GUIDE
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi all,
So I would like to have a GUI that:
- User inputs alphanumeric and numeric data into different boxes to form a data set / record
- Use a specifier to set the name of the data set /record name for calling in the event they need to edit the data set / record
- After pressing store (first data set / record), another GUIDE pops up showing first data set / record (and the following data sets / records) with scroll tab so the analyst can peruse the different saved data set / record information as they desire with set field / naming prefixes
- User inputs as many records as they desire using the same information type specifiers
- Allows the user to select the data set / record to edit in the event of a typographical error
- After data has been stored, allow the user to call the information for different calculations as the require.
Eg.
Input structure: Name, gender, age, height [cm], weight [kg], hair, eyes
Input
Record_1 = {'James Black', 'male', '32', '192', '85', 'brown', 'brown'}
Record_2 = {'Jannet Blue', 'female', '18', '175', '60', 'blonde', 'green'}
Record_3 = {'Paul Green', 'male', '22', '180', '90', 'brown', 'blue'}
Record_4 = {'Max Orange', 'male', '44', '185', '92', 'grey', 'brown'}
Record_5 = {'Jessica Brown', 'female', '34', '172', '65', 'brown', 'brown'}
Record_6 = {'Chris White', 'male', '28', '188', '96', 'blonde', 'blue'}
Process:
- Show input in another screen
- Call Record _3
- Change Record_3 input, overwrite and save to amend record
Output: Updated data set.
1 commentaire
Rik
le 1 Oct 2020
For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread.
Réponses (0)
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!