필터 지우기
필터 지우기

Compiled GUI has scattered numbers everywhere

조회 수: 1 (최근 30일)
Gabe
Gabe 2015년 8월 28일
댓글: Walter Roberson 2015년 9월 1일
I am getting a strange result when compiling a GUI using deploytool - see attached picture. After compiling, numbers from axis labels are scattered everywhere. I am not very savvy with GUIs or compiling in general so I'm not even sure where to start. Any help is very much appreciated.
  댓글 수: 1
Walter Roberson
Walter Roberson 2015년 9월 1일
Gabe, did you happen to set DrawingMode to XOR or something similar to that?
It looks to me as if you might be plotting in a loop and as if the previous entries are not getting erased and the new entries are also displaced to the right of what would be expected. Which Units did you have in effect for the Position of your uipanel() objects, and for the Position of your axes() ?

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

답변 (1개)

Shruti Sapre
Shruti Sapre 2015년 9월 1일
Hi Gabe,
I understand that you are getting a distortion after compiling a GUI in MATLAB. There are limitations with the MATLAB compiler when it comes to compiling functions related to the GUI. A number of functions in MATLAB cannot be compiled by the MATLAB Compiler.
Please see the list below and make sure that the functions you are using are not present in the below list:
Here is another link which talks about deployable code in MATLAB and the functions that cannot be compiled in MATLAB:
You may have to use different supported functions in order to be able to compile the code.
Hope this helps!
-Shruti

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by