error While running gui program
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2022-11-2
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
2022-11-2
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:
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!