Hello Everyone,
What is error in my program?
Can anyone help me?
Thanks
Error in ==> gui_mainfcn>local_openfig at 199 gui_hFigure = openfig(name, singleton, 'auto');
Error in ==> gui_mainfcn at 94 gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt);
Error in ==> simira at 16 gui_mainfcn(gui_State, varargin{:});
%&%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
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
function varargout = simira_OutputFcn(hObject, eventdata, handles)
varargout{1} = handles.output;
% - DO NOT EDIT

댓글 수: 1

Oleg Komarov
Oleg Komarov 2012년 4월 5일
You did not paste what the error was just it's location.

댓글을 달려면 로그인하십시오.

답변 (5개)

Image Analyst
Image Analyst 2012년 4월 5일

0 개 추천

Looks like your simira_OutputFcn function somehow got inserted into the main startup code that you're not supposed to edit. It should be after the "% - DO NOT EDIT" line and after simira_OpeningFcn. That's how GUIDE normally does it. So now I'm wondering if you even have a simira_OpeningFcn function at all.
simira atraqi
simira atraqi 2012년 4월 5일

0 개 추천

I have all files for function but how attach the files here? thanks

댓글 수: 1

Walter Roberson
Walter Roberson 2012년 4월 5일
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers

댓글을 달려면 로그인하십시오.

Walter Roberson
Walter Roberson 2012년 4월 5일

0 개 추천

You could get that error if you double-clicked on a .fig file to launch it. You need to launch the .m file instead.
simira atraqi
simira atraqi 2012년 4월 5일

0 개 추천

I did that but there is error with m.file. I need to send m.file.
simira atraqi
simira atraqi 2012년 4월 5일

0 개 추천

I sent to you all files with email. I hope you help me. thanks

댓글 수: 1

Image Analyst
Image Analyst 2012년 4월 6일
No one here corresponds via email. I never even look at the email that I'm using here. Post your files somewhere like Walter suggested.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

태그

질문:

2012년 4월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by