Possible to use inputdlg with Matlab GUI?
7 views (last 30 days)
Show older comments
I just used guide to create a matlab gui with only one button on it (currently for testing purposes). But, is there a way to use inputdlg() or anything else that lets the user input numbers so I could get a matrix? The ideal situation would be for the program to run and a box pops up where the user inputs numbers, afterwards they can click a button to show something simple like the mean, mode, or range of those numbers.
0 Comments
Answers (1)
Walter Roberson
on 23 Apr 2016
Yes, you can call inputdlg() from any callback. You should also consider using uicontrol('style', 'edit')
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!