Is is possible to leave the dialog box created with inputs open after clicking ok?
4 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Jan
on 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 Comments
Jan
on 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 .
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!