Problem with uipanel GUi matlab
Ältere Kommentare anzeigen
Hi there !
I am a problem which is starting to get on my nerve but can't find a solution. I created a GUI that works perfectly. ~ When I process it, I have a panel that shows at the button ( not entirely on the window, just the top of it). When I go into my GUI figure, it's not there.
So basically I have a " phantom panel" which I would like to delete, but does not appear in my GUI Figure.
Is there a command to list all panels created in the GUI figure, or something similar to this?
Thanks
2 Kommentare
David Sanchez
am 26 Feb. 2014
Depending on how yo created your GUI you can see the handles of the objects in it. Could you attach the *.fig and *.m file of your GUI? I could take a look
Mary Caroline
am 26 Feb. 2014
Akzeptierte Antwort
Weitere Antworten (2)
David Sanchez
am 26 Feb. 2014
0 Stimmen
In the GUIDE, expand the area of your GUI downwards and eastwards. Move the "Change of values" panel too. Click on the place where the ghost panel should be and make sure it is not there. Try also to select all "Ctrl+A" and make sure than it is highlighted only those objects visible in the final interface. You can attach the *.fig if the problem persists.
1 Kommentar
Mary Caroline
am 26 Feb. 2014
Image Analyst
am 26 Feb. 2014
You most likely have some code in the OpeninfFcn() like this:
% Enlarge figure to full screen.
set(gcf, 'Units', 'Normalized', 'OuterPosition', [0 0 1 1]);
That sets the size to the full screen but does not take into account that you have a task bar set to be always on top. Change your position to be something less than full screen, like this:
% Enlarge figure to full screen.
set(gcf, 'Units', 'Normalized', 'OuterPosition', [0 0.1 1 0.9]);
Make sure that the Units property of all your controls is set to "normalized".
2 Kommentare
Mary Caroline
am 26 Feb. 2014
David Sanchez
am 26 Feb. 2014
I checked your GUI. Did you realize there is a hidden panel behind the panel containing the 6 axis? Did you make this GUI or was it given to you like this? It seems that this gui is built on top of another one and is showing objects from both.
Kategorien
Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

