error While running gui program

1 visualización (últimos 30 días)
Moulitharan Mariappan
Moulitharan Mariappan el 2 de Nov. de 2022
Comentada: Image Analyst el 2 de Nov. de 2022
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @thee_thesis_OpeningFcn, ...
'gui_OutputFcn', @thee_thesis_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
  6 comentarios
Walter Roberson
Walter Roberson el 2 de Nov. de 2022
MATLAB never just says "there was an error at such and such a line": it always gives information about what the error was. For example it might say something about "no such function or variable gui_mainfcn". Or it might have another few lines of location information before that and say something like "subscript out of range, must be at most 4"
We need the complete error message. Or else we need the complete .m and .fig file so that we can run the program ourselves to see what the error message is.
Image Analyst
Image Analyst el 2 de Nov. de 2022
He means ALL THE RED TEXT. Tell us everything in red you see in the command window.
And even then we can't do much without the files I requested. When you edit a file with GUIDE, there are two files created. There is the .fig file and the .m file. I asked you to attach them but you did not. Why not? If you really want it solved, and it is not solved already, you would attach thee_thesis.m and thee_thesis.fig with the paperclip icon.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by