Is is possible to leave the dialog box created with inputs open after clicking ok?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I would like to keep a dialog box open after clicking ok in order to always visualize the input data :
is it possible?
Thanks, nando
0 commentaires
Réponse acceptée
Jan
le 18 Nov 2021
Yes. Simply create a dialog box which have an "Apply" button. That "Ok" closes the dialog is the standard look&feel, so changing this behavior would confuse the users.
5 commentaires
Jan
le 20 Nov 2021
Creating a function inside Matlab's toolbox folders requires Admin privileges. It is recommended not to work with such high privileges, because this includes the risk to modify Matlab's toolbox functions by accident. This is extremely hard to debug, e.g. if the debugger is affected.
If you create the function in a folder with user access, some subfunctions in the subfolder /private might be missing. You could copy them also.
I'd prefer to rewrite the dialog from scratch. See https://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples .
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!