필터 지우기
필터 지우기

Using GUIDE GUI was build in Matlab 2014b but now not opening properly in 2016b

조회 수: 2 (최근 30일)
I had made GUI in guide with Matlab 2014b now opening it is 2016a but some buttons are not shown on screen. Is this due to screen size? (because I had made this GUI on a PC having 22" screen size and now opening it on a 15" Screen)
Does the Matlab automatically scales the objects used in GUI (e.g. Axes etc) when opened on different screen size/resolution?

채택된 답변

Jan
Jan 2017년 2월 22일
You can defined the figure position and size relative to the screen or with absolute coordinates, see 'normalized' or 'pixel' units. The same can be done with all GUI elements like axes, uipanel and uicontrol relative to the figure. Therefore I is possible, that the layout depend on the screen size.
  댓글 수: 2
Muhammad Abdurrehman
Muhammad Abdurrehman 2017년 2월 22일
I just checked In GUI Options Resize Behavior: there are three options
- Non-resizeable - Proportional - Other (Size Changed Function)
Can you please explain which function in last two options should be selected or how to write SizeChangedFcn?
Walter Roberson
Walter Roberson 2017년 2월 22일
Select Proportional if you want everything to be resized to 15/22. This might include text size.
Select Size Changed Function and provide code if you want to change the way you arrange your graphics elements based upon screen size. For example, you might want
Plot1 Plot2 Plot3
Description
side by side on a wide screen, but on a narrower screen instead of making each plot 2/3 the size, you might want to arrange as
Plot1 Plot2
Plot3 Description
The function you provided would have to examine the figure size and make decisions about what to place where.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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