필터 지우기
필터 지우기

feval(gui_​State.gui_​OpeningFcn​, gui_hFigure, [], guidata(gui_hFigure), varargin{:});

조회 수: 7 (최근 30일)
Tenzin Kunkyab
Tenzin Kunkyab 2021년 8월 10일
답변: Walter Roberson 2021년 8월 10일
Hi,
I have the following code: ( I am not sure why the code is not working but I am using a modern version of matlab and the code was written for an older version of matlab), your help will be greatly appreciated!
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
the error that it gives is the following:
Error in gui_mainfcn (line 220)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure),
varargin{:});
  댓글 수: 2
Walter Roberson
Walter Roberson 2021년 8월 10일
There should have been more to the error message, saying what MATLAB thinks is wrong.
Tenzin Kunkyab
Tenzin Kunkyab 2021년 8월 10일
The whole error message looks something like this: (there isn't more to the error message for some reason)
Warning: The JavaFrame figure property will be removed in a future release. For
more information see UI Alternatives for MATLAB Apps on mathworks.com.
> In ProcessImagesTab>ProcessImagesTab_OpeningFcn (line 84)
In gui_mainfcn (line 220)
In ProcessImagesTab (line 42)
In iGel (line 28)
Error using ProcessImagesTab>ProcessImagesTab_OpeningFcn (line 91)
Java exception occurred:
java.awt.IllegalComponentStateException: The frame is decorated
at java.awt.Frame.setOpacity(Frame.java:960)
at java.awt.Window$1.setOpacity(Window.java:4037)
at com.sun.awt.AWTUtilities.setWindowOpacity(AWTUtilities.java:174)
Error in gui_mainfcn (line 220)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure),
varargin{:});
Error in ProcessImagesTab (line 42)
gui_mainfcn(gui_State, varargin{:});

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

답변 (1개)

Walter Roberson
Walter Roberson 2021년 8월 10일
Apparently what you are asking to do is not permitted by Java.
But you might possibly be able to Undecorate the window.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by