How can I add a prompt or series of dropdowns to the existing inputdlg.m function in matlab?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Alonso Trejo-Mora
am 26 Jun. 2017
Beantwortet: Walter Roberson
am 26 Jun. 2017
I'm trying to make a user-input one-to-one assignment of variables, where each prompt is a variable in the first array and the inputs/assignments would be elements in a second array typed or selected by the user.
The title is used already for other information, but I can't seem to find a previous implementation online for adding/editing pre-existing UI functions.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 26 Jun. 2017
Copy inputdlg to a new file name and edit the code including changing the function name. There is no built-in function for that purpose and there is no built-in hook to extend those functions.
If you do not mind the items being presented horizontally instead of vertically then uipanel might work for you as you can have a different drop down selection for each column
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu File Operations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!