en/disable a figure
Ältere Kommentare anzeigen
hy, i got myself a little gui with subfigures ans it would be comforable to lock the main gui figure while a subfigure is still open. is there a way? I tried with uiwait(mymainfigure), but the problem is that i cant call that from the subfigure because i got it in another file unless i call that one with the main figure included which seems not very elegant.
thanks for help
1 Kommentar
Sean de Wolski
am 7 Mai 2012
I don't see why that isn't very elegant? Though it's not completely clear what you're doing.
Akzeptierte Antwort
Weitere Antworten (1)
Jan
am 7 Mai 2012
0 Stimmen
I do not like modal dialogs. I've been too often in the situation, that a modal dialog prevents, that I can use the command window to get an information, which is useful to fill in the dialog.
Therefore I suggest FEX: enabledisable-figure or setting the 'Enable' property of all uicontrols to inactive programmatically.
Kategorien
Mehr zu Downloads 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!