error While running gui program

2 ビュー (過去 30 日間)
Moulitharan Mariappan
Moulitharan Mariappan 2022 年 11 月 2 日
コメント済み: Image Analyst 2022 年 11 月 2 日
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
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
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 ExchangeMatrix Indexing についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by