Note: Matlab has since patched this problem in update #3 for r2019b: https://www.mathworks.com/support/bugreports/2083859
This file is therefore no longer supported.
The r2019b release of Matlab often causes a problem when editing a GUI in GUIDE. AnnotationPane objects were added to certain GUI components and when certain properties are changed from within GUIDE, an error dialog appears preventing the user from making changes to the GUI.
This file (guidefunc.m) acts as a wrapper function to Matlab's guidefunc() by searching for and deleting AnnotationPane objects prior to loading the GUI into GUIDE.
Simply add this file to your Matlab path and open your GUI in GUIDE as you normally would. See the help section for important information.
This function is in the beta stage and your feedback is much appreciated (email address in file).
For discussion on this top in the forum, see
Special thanks to Brunno Machado de Campos for providing an additional test GUI and feedback.
Adam Danz (2021). Patch for annotationPane errors in GUIDE [Beta] (https://www.mathworks.com/matlabcentral/fileexchange/73400-patch-for-annotationpane-errors-in-guide-beta), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!