필터 지우기
필터 지우기

AnnotationPane errors on Guide

조회 수: 27 (최근 30일)
Brunno Machado de Campos
Brunno Machado de Campos 2019년 11월 18일
답변: Dennis 2024년 7월 3일 10:09
Hi,
When MathWorks will solve the BUGs using guide on 2019b?
I just update to 2019b and it is impossible to work with all those AnnotationPane errors...
Ungoing project stopped, to late to migrate to code based GUIs or the new AppDesign interface.

채택된 답변

Adam Danz
Adam Danz 2019년 11월 18일
편집: Adam Danz 2019년 12월 26일
Are you referring to the problem described here? If so, TMW is aware of this bug but since GUIDE GUIs will be phased out, I'm not sure whether it will be fixed or not.
See the answer provided in that link for some code to add to your OpeningFcn function to eliminate the scribeOverlay handle when the GUI is created.
[Update 20-Nov-2019]
In case anyone else is facing this problem, try out the patch provided in this FEX. It's been tested on a couple of GUIs.
[Update 26-Dec-2019]
Update #3 for r2019b fixes this problem: https://www.mathworks.com/support/bugreports/2083859
  댓글 수: 11
Adam Danz
Adam Danz 2020년 2월 25일
Thanks for the feedback!
Charles James
Charles James 2021년 7월 27일
I just noticed this bug even though I'm using 2020a (in 2021), it must have been the GUI was edited with an older Guide before before the fix. It only showed up when I tried to copy or paste elements which I obviously hadn't done for a while.
The patch looks like it actually repairs the .fig file so once applied the new fig file can be saved without the offending AnnotationPane objects. Once the .fig file is fixed the guidefunc.m wrapper described in the patch isn't needed any more (unless you have other corrupted .fig files from other GUIs you still work with). I wouldn't use the patch all the time or the prompts and warnings that you are using a custom version of guidefunc.m will keep popping up.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Dennis
Dennis 2024년 7월 3일 10:09
Hi,
sorry to dig up this old thread. Hope somebody can help.
I have an old GUIDE GUI created with a very old Matlab version. It worked fine in Matlab 2023b when I simply ran it!
However, I loaded it into GUIDE to modify a textbox and saved the *.fig. After that, I was no longer able to run my GUI. I receive Error:
Error using matlab.graphics.Graphics/set
Unrecognized property Enable for class AnnotationPane.
when I run my function to enable/disable GUI elements (set(handlesFilterSettings, 'Enable', 'on');)
I've tried the patch from this link, but i still receive the same error messages. Any ideas?

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by