Possible to use inputdlg with Matlab GUI?
Mostrar comentarios más antiguos
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.
Respuestas (1)
Walter Roberson
el 23 de Abr. de 2016
0 votos
Yes, you can call inputdlg() from any callback. You should also consider using uicontrol('style', 'edit')
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!