error While running gui program

5 views (last 30 days)
Moulitharan Mariappan
Moulitharan Mariappan on 2 Nov 2022
Commented: Image Analyst on 2 Nov 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 Comments
Walter Roberson
Walter Roberson on 2 Nov 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 on 2 Nov 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:

Sign in to comment.

Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!