Patch for annotationPane errors in GUIDE [Beta]

Version 1.1.2 (3.95 KB) by Adam Danz
A patch to the problem of editing GUIs in GUIDE in r2019b (and later?)
177 Downloads
Updated Wed, 17 Mar 2021 18:59:13 +0000

View License

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
https://www.mathworks.com/matlabcentral/answers/482510-annotationpane-handle-appearing-in-guide-guis-with-panel-axes-in-r2019b

Special thanks to Brunno Machado de Campos for providing an additional test GUI and feedback.

Cite As

Adam Danz (2024). 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
Created with R2019b
Compatible with R2019b
Platform Compatibility
Windows macOS Linux
Categories
Find more on Migrate GUIDE Apps in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.2

Changes to file exchange description only.

1.1.1

Updated description to announce Matlab's patch in update #3 in r2019b.

1.1

When this function is accessed from a Matlab release prior to r2019b, instead of throwing an error a warning dialog is displayed one time only and the inputs to the function are all directly sent to Matlab's built-in function.

1.0.3

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

1.0.2

Changes to file description (file not changed)

1.0.1

Title and description changes.

1.0.0