Possible to use inputdlg with Matlab GUI?
Ältere Kommentare anzeigen
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.
Antworten (1)
Walter Roberson
am 23 Apr. 2016
0 Stimmen
Yes, you can call inputdlg() from any callback. You should also consider using uicontrol('style', 'edit')
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!