How to input, show, correct and save data using GUIDE
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Rik
2020-10-1
For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!