Issues with Guide gui figure transfer
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(4 个)
Walid
2014-2-1
I had the same issue and it was related to set(0,'ScreenPixelsPerInch',96) which seems to be 116 in some newer computers.
1 个评论
Daniel Jiménez
2015-7-15
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
2014-1-27
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 个评论
Image Analyst
2014-2-1
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!