"There is no ActivePositionProperty property on the Figure class" error
Mostrar comentarios más antiguos
This is the error I get when I run a program I created back in 2011 using Guide. It runs fine in R2012a, but gives this error in R2015b. The error happens in the Guide part of the code that I didn't write:
Error using matlab.ui.Figure/get
There is no ActivePositionProperty property on the Figure class.
Error in movegui (line 119)
oldposmode = get(fig,'ActivePositionProperty');
Error in matlab.hg.internal.openfigLegacy (line 94)
movegui(fig(n), 'onscreen');
Error in gui_mainfcn>local_openfig (line 286)
gui_hFigure = matlab.hg.internal.openfigLegacy(name, singleton, visible);
Error in gui_mainfcn (line 158)
gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt, gui_Visible);
Error in eightlinkleg (line 42)
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:})___|;|
What can I do to fix it?
1 comentario
Scott
el 5 de Abr. de 2016
Respuestas (2)
Joachim Schlosser
el 5 de Abr. de 2016
2 votos
ActivePositionProperty is property of axes, not figure.
3 comentarios
Scott
el 5 de Abr. de 2016
Mike Garrity
el 5 de Abr. de 2016
But the copy of movegui.m in R2015b doesn't contain that line. Have you got a copy of movegui from an old version on your path?
Scott
el 5 de Abr. de 2016
daniel
el 5 de Oct. de 2017
0 votos
Im having the same issue, my error is :
"Matlab guide error using get there is no AnnotationPane class "
this error occurs when I try to resize the GUI window borders in GUIDE. I am trying to resize my GUI window borders because some buttons have become invisible after I opened and saved the GUI on different matlab installs/computers/monitors.
Any advise is appreciated
1 comentario
Walter Roberson
el 5 de Oct. de 2017
Can you attach your .fig and .m ?
AnnotationPane is matlab.graphics.shape.internal.AnnotationPane
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!