フィルターのクリア

Issues with Guide gui figure transfer

1 回表示 (過去 30 日間)
Quentin
Quentin 2014 年 1 月 27 日
コメント済み: Daniel Jiménez 2015 年 7 月 15 日
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!

回答 (4 件)

Walid
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
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
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?

Quentin
Quentin 2014 年 1 月 28 日
Thanks for the reply Walter. It looks like the default was not to have the guy rescaleable in the tools menu. When I changed it, saved it, then moved it over it seemed to work. It seems odd to me that it would have to rescale anything since the monitors and graphics cards are identical. But it fixed the problem nonetheless. Thanks.
Quentin

Image Analyst
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.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by