GUI made in 2015a not working in 2016b

1 次查看(过去 30 天)
I made a GUI in GUIDE in the 2015a release that worked fine, but after upgrading to 2016b the sizes of all the components are all off, to the point where most of them don't even show up (screen grabs attached).
I tried a couple of things after searching around, including the links below, but none have made a difference. Has anyone had similar problems / found a solution?
These are some of the things I've tried
: https://github.com/RodentDataAnalytics/mwm-ml-gen/issues/1 https://www.mathworks.com/matlabcentral/answers/153254-matlab-scaling-issue-on-high-resolution-high-dpi-displays http://undocumentedmatlab.com/blog/graphic-sizing-in-matlab-r2015b http://undocumentedmatlab.com/blog/working-with-non-standard-dpi-displays
GUI in 2015a:
GUI in 2016b:
The main plot shows up more or less then same, but all of buttons are pushed off-screen. Any help would be appreciated.
  3 个评论
Eric Roots
Eric Roots 2017-2-6
I'm using normalized units. Even from within GUIDE, the components are off-screen, i.e. I can't even scroll up to see them. I guess I could open the object browser and reset all the positions, but I'd rather not have to do this seeing as I have several other GUI's I'd have to do it for as well.
Adam
Adam 2017-2-6
Normalised units do tend to be a bit buggy, especially if you have nested panels. I have had many problems with disappearing components when I have had, e.g. a slider inside a penal inside another panel. Often I end up having to change all the units to pixels and only switch back to normalised once I have positioned everything (which can be done all in one go in the menu options at the top by allowing your UI to be resizable)

请先登录,再进行评论。

回答(1 个)

Daivaraj P
Daivaraj P 2017-7-3
Hi Eric Roots,
I have removed the nested panels created in earlier version of Matlab GUI, now I can able to see all my GUI objects.

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by