Issues with Guide gui figure transfer
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello all,
I wrote a gui using Guide in Matlab R2013b. It is fairly complex and I'd really rather not rewrite it from scratch. It is a gui to acquire data through some NIDAQ's, so naturally I wanted to install it on all of our computers that will run data collection here in the lab. I wrote it on one computer and tried to transfer it to the next. However, I now lose and can't see about half of the gui. I also can't resize it or scroll to see it. The machines are virtually identical with one being an i7 processor and the other an i5. Otherwise, same model Dells, same graphics cards, same monitors. I've checked the resolution in Windows 7 and in Matlab, and both are the same. I cannot for the life of me figure this out. The units on every item in the gui are set to "characters" as that's the default, and it is set to non-resizable. I also can't just suck it up and resize everything in the gui, because when I open it in guide, I can't access anything that is off of the screen. I feel like this greatly diminished the utility of the gui/guide system in Matlab. What a frustrating day. Any help will be greatly appreciated.
Thanks!
0 Kommentare
Antworten (4)
Walid
am 1 Feb. 2014
I had the same issue and it was related to set(0,'ScreenPixelsPerInch',96) which seems to be 116 in some newer computers.
1 Kommentar
Daniel Jiménez
am 15 Jul. 2015
This worked for me too! In the computer where my GUI was not working, this value was set 120. Changing it to 96 solved the problem of missing parts (incomplete GUI) in the interface.
Walter Roberson
am 27 Jan. 2014
Characters... is it possible that the two are using different fontsize ? If you
get(0, 'DefaultFigureFontSize')
and also Axes and Text and Uicontrol instead of Figure then does anything show up?
0 Kommentare
Image Analyst
am 1 Feb. 2014
What happens if you set all the units to Normalized? You can do control-a to select all controls except those inside panels. Then set the units. For the controls inside panels, you have to select those separately, though you can select more than 1, and set the units to normalized. I don't know why control-a does not select controls inside panels but it doesn't.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!