File Exchange

image thumbnail

Patch for annotationPane errors in GUIDE [Beta]

version 1.0.3 (3.66 KB) by Adam Danz
A patch to the problem of editing GUIs in GUIDE in r2019b (and later?)


Updated 22 Nov 2019

View License

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 for 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.

Cite As

Adam Danz (2019). Patch for annotationPane errors in GUIDE [Beta] (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)



Added beta to title and description; no change to file.


Changes to file description (file not changed)


Title and description changes.

MATLAB Release Compatibility
Created with R2019b
Compatible with R2019b to any release
Platform Compatibility
Windows macOS Linux