Is is possible to leave the dialog box created with inputs open after clicking ok?
2 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Jan
2021-11-18
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 个评论
Jan
2021-11-20
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 .
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!