Borrar filtros
Borrar filtros

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

7 visualizaciones (últimos 30 días)
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 comentarios
Walter Roberson
Walter Roberson el 10 de Ag. de 2021
There should have been more to the error message, saying what MATLAB thinks is wrong.
Tenzin Kunkyab
Tenzin Kunkyab el 10 de Ag. de 2021
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{:});

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 10 de Ag. de 2021
Apparently what you are asking to do is not permitted by Java.
But you might possibly be able to Undecorate the window.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by