You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
guide
2 views (last 30 days)
Show older comments
simira atraqi
on 10 Apr 2012
Hello Everyone, Can you help me to run this Matlab program with GUIDE, I load it in this link with name simira. Thank you very much Simira
8 Comments
Walter Roberson
on 10 Apr 2012
http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
simira atraqi
on 10 Apr 2012
please, for which address email I will post the files to you?
this the code
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;
I want to ask about this error
Error in ==> simira at 16
gui_mainfcn(gui_State, varargin{:});
Jan
on 10 Apr 2012
You can post the code here in this forum by editing the original question and using code formatting as explained in the "Markup help" link on this page. Thanks.
Please post the complete error message. Currently we only see, where the error occurs, but not which one.
simira atraqi
on 10 Apr 2012
I am sory I cannot find Markup help.
Walter Roberson
on 10 Apr 2012
http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup
Walter Roberson
on 10 Apr 2012
Have you single-stepped through the function to figure out where it is crashing?
Walter Roberson
on 11 Apr 2012
For more information on using the debugger, please see http://www.mathworks.com/help/techdoc/matlab_env/brqxeeu-175.html#brqxeeu-192
Accepted Answer
simira atraqi
on 12 Apr 2012
This m.file work with new version but I have Matlab 7, how can I change it to work with old version Thanks
3 Comments
Walter Roberson
on 12 Apr 2012
Wait, is it crashing in the openfig() ? If so then you will not be able to get it to work in your version, as the .fig file is not compatible with your old version. You would need to recreate the GUI in GUIDE in your version.
simira atraqi
on 13 Apr 2012
How I therecreate the GUI in GUIDE in my version.
Can you help me, please?
Thank you very much
Image Analyst
on 13 Apr 2012
Look at the old one - capture a screenshot or print it out if you have to. Then start GUIDE on the new MATLAB with a new blank GUI, and start placing your controls on the new blank GUI.
More Answers (2)
simira atraqi
on 10 Apr 2012
function varargout = simira(varargin)
% - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @simira_OpeningFcn, ...
'gui_OutputFcn', @simira_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
function varargout = simira_OutputFcn(hObject, eventdata, handles)
varargout{1} = handles.output;
% - DO NOT EDIT
% --- Project Opening Function.============================================
function simira_OpeningFcn(hObject, eventdata, handles, varargin)
% Default values
handles.xl=4000;
handles.yl=3000;
handles.Am=3;
handles.Fr=2000;
handles.output = hObject;
guidata(hObject, handles);
% --- X length slider.=====================================================
function slider1_Callback(hObject, eventdata, handles)
handles.xl=get(hObject,'value');
set(handles.text1,'string',strcat('Xlength=',num2str(handles.xl,'%4.f'),'µm'));
guidata(hObject, handles);
[t y A]=simiraFun(handles.xl,handles.yl,handles.Am,handles.Fr);
surf(t,y,A);
shading interp
function slider1_CreateFcn(hObject, eventdata, handles)
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor',[.9 .9 .9]);
end
%==========================================================================
% --- Y length slider.=====================================================
function slider2_Callback(hObject, eventdata, handles)
handles.yl=get(hObject,'value');
set(handles.text2,'string',strcat('Ylength=',num2str(handles.yl,'%4.f'),'µm'));
guidata(hObject, handles);
[t y A]=simiraFun(handles.xl,handles.yl,handles.Am,handles.Fr);
surf(t,y,A);
shading interp
function slider2_CreateFcn(hObject, eventdata, handles)
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor',[.9 .9 .9]);
end
%==========================================================================
% --- Amplitude slider.====================================================
function slider3_Callback(hObject, eventdata, handles)
handles.Am=get(hObject,'value');
set(handles.text3,'string',strcat('Amplitude=',num2str(handles.Am,'%1.f'),'µm'));
guidata(hObject, handles);
[t y A]=simiraFun(handles.xl,handles.yl,handles.Am,handles.Fr);
surf(t,y,A);
shading interp
function slider3_CreateFcn(hObject, eventdata, handles)
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor',[.9 .9 .9]);
end
%==========================================================================
% --- Frequency slider.====================================================
function slider4_Callback(hObject, eventdata, handles)
handles.Fr=get(hObject,'value');
set(handles.text4,'string',strcat('Frequency=',num2str(handles.Fr,'%1.f'),'Hz'));
guidata(hObject, handles);
[t y A]=simiraFun(handles.xl,handles.yl,handles.Am,handles.Fr);
surf(t,y,A);
shading interp
function slider4_CreateFcn(hObject, eventdata, handles)
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor',[.9 .9 .9]);
end
%==========================================================================
% --- Plot pushbutton.=====================================================
function pushbutton1_Callback(hObject, eventdata, handles)
[t y A]=simiraFun(handles.xl,handles.yl,handles.Am,handles.Fr);
surf(t,y,A);
shading interp
%==========================================================================
% --- Clear pushbutton.====================================================
function pushbutton2_Callback(hObject, eventdata, handles)
cla
%===================================================================
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{:});
3 Comments
simira atraqi
on 10 Apr 2012
I hope now you can help me with this error
simira atraqi
on 10 Apr 2012
function [t y A]=simiraFun(xl,yl,am,fr)
Fre=fr/1000000;
SFre=4*Fre;
t=0:(1/SFre):xl;
x=am*sin(Fre*t);
A=ones(yl+1 ,1)*x;
y=0:yl;
Image Analyst
on 10 Apr 2012
I still don't see the actual error. I think you left off some of what it said - you just gave the locations of the errors but not the actual reason for the error. Please paste in all the text that is in red color.
simira atraqi
on 10 Apr 2012
------------------------------------------------------------------------
Segmentation violation detected at Tue Apr 10 12:02:30 2012
------------------------------------------------------------------------
Configuration:
MATLAB Version: 7.0.0.19920 (R14)
Operating System: Microsoft Windows XP
Window System: Version 5.1 (Build 2600: Service Pack 3)
Processor ID: x86 Family 6 Model 15 Stepping 11, GenuineIntel
Virtual Machine: Java 1.4.2 with Sun Microsystems Inc. Java HotSpot(TM) Client VM
(mixed mode)
Default Charset: ibm-5348_P100-1997
Register State:
EAX = dd000000 EBX = dd000000
ECX = 00cd5e00 EDX = 78874cc4
ESI = 1229bea0 EDI = 0143c4b0
EBP = 00cd5e28 ESP = 00cd5e00
EIP = 789bf671 FLG = 00010286
Stack Trace:
[0] m_interpreter.dll:public: virtual void __thiscall FunctionHandleWorkspaceCI::customLoad(class mcos::COSInterfacePtr,class mcos::COSValue,class mcos::COSDataTypePtr)(0x0138cb10, 0x013d8fd0, 0x013ba110, 5) + 401 bytes
[1] mcos.dll:public: virtual void __thiscall mcos::COSClassI::customLoad(class mcos::COSInterfacePtr,class mcos::COSValue,class mcos::COSDataTypePtr)(0x0138cb10, 0x013d8fd0, 0x013ba110, 5) + 133 bytes
[2] mcos.dll:$L86174(0x00cd5f54, 0x0120abd0, 0, 0x00cd5f68) + 128 bytes
[3] mcos.dll:public: virtual class mcos::COSInterfacePtr __thiscall mcos::File::getInterface(unsigned int)const (0x00cd5f54, 1, 0x123be360 "IM", 0) + 32 bytes
[4] mcos.dll:public: struct mxArray_tag * __thiscall mcos::File::convertCOSInterfaceFromMatrix(struct mxArray_tag const *)(0x013d3650, 0x013d8650, 0x00cda3c8, 0x78870d8b) + 134 bytes
[5] mcos.dll:struct mxArray_tag * __cdecl mcosConvertFromMATFileArray(struct mxArray_tag const *,struct mxArray_tag const * *)(0x013d8690, 0x00cd5fb0, 0x00cd5fb4, 0x787a7d97) + 128 bytes
[6] mcos.dll:_omLoadOpaque(0x013d8650, 0x013d8690, 0x00cd5fb0, 0x011f79e0 "MCOS") + 16 bytes
[7] libmx.dll:int __cdecl miConvertToOpaque(struct miStreamRec_tag *,struct mxArray_tag *,struct mxArray_tag const *,struct mxArray_tag * *)(0x123be360 "IM", 0x013d8690, 0x00cd6800, 0x123be360 "IM") + 39 bytes
[8] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x123be360 "IM", 0x00cd7044, 0, 0) + 3170 bytes
[9] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x123be360 "IM", 0x00cd789c, 0, 0) + 3749 bytes
[10] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x123be360 "IM", 0x00cd80f4, 0, 0) + 3749 bytes
[11] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x123be360 "IM", 0x00cd894c, 0, 0) + 4278 bytes
[12] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x123be360 "IM", 0x00cd91a4, 0, 0) + 3749 bytes
[13] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x123be360 "IM", 0x00cd99fc, 0, 0) + 3749 bytes
[14] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x123be360 "IM", 0x00cda254, 0, 0) + 3749 bytes
[15] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x123be360 "IM", 0x00cda2b4, 0, 0) + 3749 bytes
[16] libmx.dll:_miGetItemData(0x123be360 "IM", 0x00cda2b4, 0xffffffff, 0) + 137 bytes
[17] libmx.dll:_miGetItem(0x123be360 "IM", 0x00cda2e4, 128, 14) + 263 bytes
[18] libmat.dll:struct mxArray_tag * __cdecl matGetValueAtOffset(struct MATFile_tag *,char *,int)(0x012f6500, 0, 128, 0x00cda318 "Ô£Í") + 49 bytes
[19] libmat.dll:struct mxArray_tag * __cdecl matGetVariable5(struct MATFile_tag *,char const *)(0x012f6500, 0x124c4004 "hgS_070000", 0x00cda3d4, 0x78b3d60f) + 40 bytes
[20] libmat.dll:_matGetVariable(0x012f6500, 0x124c4004 "hgS_070000", 0, 0x124c3eea) + 24 bytes
[21] m_interpreter.dll:void __cdecl inLoadFcnPrivate(char const *,int,char * *,bool,int,int,class LoadDestination *)(0x00cda51c "C:\MATLAB7\work\simira.fig", 0, 0x00cda454, 0x7c90e900) + 639 bytes
[22] m_interpreter.dll:_inLoadFcnWithLHS(0x00cda51c "C:\MATLAB7\work\simira.fig", 0, 0x00cda454, 1) + 154 bytes
[23] m_interpreter.dll:_inFullLoadFcn(1, 0x00cdacdc, 2, 0x00cdad3c) + 805 bytes
[24] m_dispatcher.dll:public: virtual void __thiscall Mfh_builtin<struct mxArray_tag>::dispatch_mf(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdacdc, 2, 0x00cdad3c) + 55 bytes
[25] m_dispatcher.dll:public: virtual void __thiscall Mfh_MATLAB_fn::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdacdc, 2, 0x00cdad3c) + 200 bytes
[26] m_interpreter.dll:_inDispatchFromStack(298, 0x12623e14 "load", 1, 2) + 891 bytes
[27] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x12623e14 "load", 298, 1, 2) + 111 bytes
[28] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *)(1, 1781, 44, 0) + 2282 bytes
[29] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *)(1, 1781, 40, 0) + 272 bytes
[30] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x12610750, 0, 2, 1) + 773 bytes
[31] m_interpreter.dll:_inWordsj(2, 0x00cdb3fc, 2, 0x00cdb45c) + 441 bytes
[32] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(2, 0x00cdb3fc, 2, 0x00cdb45c) + 158 bytes
[33] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 2, 0x00cdb3fc, 2) + 28 bytes
[34] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(2, 0x00cdb3fc, 2, 0x00cdb45c) + 26 bytes
[35] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(2, 0x00cdb3fc, 2, 0x00cdb45c) + 273 bytes
[36] m_interpreter.dll:_inDispatchFromStack(574, 0x12327edc "hgload", 2, 2) + 891 bytes
[37] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x12327edc "hgload", 0, 2, 2) + 111 bytes
[38] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *)(1, 1305, 89, 0) + 2282 bytes
[39] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *)(1, 1305, 34, 0) + 272 bytes
[40] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x12600030, 0, 3, 3) + 773 bytes
[41] m_interpreter.dll:_inWordsj(1, 0x00cdc050, 3, 0x00cdc0e0) + 441 bytes
[42] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(1, 0x00cdc050, 3, 0x00cdc0e0) + 158 bytes
[43] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 1, 0x00cdc050, 3) + 28 bytes
[44] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdc050, 3, 0x00cdc0e0) + 26 bytes
[45] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdc050, 3, 0x00cdc0e0) + 273 bytes
[46] m_interpreter.dll:public: void __thiscall ResolverFunctionDesc::CallFunction(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const)(1, 0x00cdc050, 3, 0x00cdc0e0) + 246 bytes
[47] m_interpreter.dll:public: bool __thiscall Resolver::CallMFunction(int,int,class _m_operand * const,union m_operand_storage *,int,class _m_operand * const,union m_operand_storage *,int *)(1, 1, 0x013d12d0, 0) + 840 bytes
[48] m_interpreter.dll:bool __cdecl inResolveMFunctionCall(struct _m_function_desc *,int,int,class _m_operand * const,union m_operand_storage *,int,class _m_operand * const,union m_operand_storage *,int *,enum inMarshalType *,unsigned int,int,unsigned int *,int)(0x1253bd20, 1, 1, 0x013d12d0) + 148 bytes
[49] m_interpreter.dll:bool __cdecl accelMFunctionCall(struct _accelOp *,struct _accelOp * *,struct _accelBytecode *,int *,enum inMarshalType *)(0x1248b4c0, 0x00cdc6f4, 0x01209550, 0x00cdc6ec) + 108 bytes
[50] m_interpreter.dll:int __cdecl accelExec(struct _accelBytecode *,enum inMarshalType *)(0x01209550, 0x00cdc76c, 0, 0) + 18462 bytes
[51] m_interpreter.dll:_inExecuteHotSegment(0x00cdc7a0, 0x00cdc870, 0x00cdc820, 0) + 1542 bytes
[52] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *)(1, 125, 199, 0) + 365 bytes
[53] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *)(1, 125, 198, 0) + 272 bytes
[54] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x126021a0, 0, 2, 2) + 773 bytes
[55] m_interpreter.dll:_inWordsj(1, 0x00cdd2c0, 2, 0x00cdd350) + 441 bytes
[56] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(1, 0x00cdd2c0, 2, 0x00cdd350) + 158 bytes
[57] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 1, 0x00cdd2c0, 2) + 28 bytes
[58] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdd2c0, 2, 0x00cdd350) + 26 bytes
[59] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdd2c0, 2, 0x00cdd350) + 273 bytes
[60] m_interpreter.dll:public: void __thiscall ResolverFunctionDesc::CallFunction(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const)(1, 0x00cdd2c0, 2, 0x00cdd350) + 246 bytes
[61] m_interpreter.dll:public: bool __thiscall Resolver::CallMFunction(int,int,class _m_operand * const,union m_operand_storage *,int,class _m_operand * const,union m_operand_storage *,int *)(1, 1, 0x013d2410, 0) + 840 bytes
[62] m_interpreter.dll:bool __cdecl inResolveMFunctionCall(struct _m_function_desc *,int,int,class _m_operand * const,union m_operand_storage *,int,class _m_operand * const,union m_operand_storage *,int *,enum inMarshalType *,unsigned int,int,unsigned int *,int)(0x1253baa0, 1, 1, 0x013d2410) + 148 bytes
[63] m_interpreter.dll:bool __cdecl accelMFunctionCall(struct _accelOp *,struct _accelOp * *,struct _accelBytecode *,int *,enum inMarshalType *)(0x122877d0, 0x00cdd964, 0x01209640, 0x00cdd95c) + 108 bytes
[64] m_interpreter.dll:int __cdecl accelExec(struct _accelBytecode *,enum inMarshalType *)(0x01209640, 0x00cdd9dc, 0, 0) + 18462 bytes
[65] m_interpreter.dll:_inExecuteHotSegment(0x00cdda10, 0x00cddae0, 0x00cdda90, 0) + 1542 bytes
[66] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *)(1, 2070, 77, 0) + 365 bytes
[67] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *)(1, 2070, 31, 0) + 272 bytes
[68] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x126444e0, 0, 1, 0xfffffffe) + 773 bytes
[69] m_interpreter.dll:_inWordsj(0, 0x00cddffc, 1, 0x00cde05c) + 441 bytes
[70] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(0, 0x00cddffc, 1, 0x00cde05c) + 158 bytes
[71] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0, 0x00cddffc, 1) + 28 bytes
[72] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cddffc, 1, 0x00cde05c) + 26 bytes
[73] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cddffc, 1, 0x00cde05c) + 273 bytes
[74] m_interpreter.dll:_inDispatchFromStack(557, 0x12596694 "gui_mainfcn", 0, 0x01ffffff) + 891 bytes
[75] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x12596694 "gui_mainfcn", 0, 0, 0xffffffff) + 111 bytes
[76] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *)(1, 250, 16, 0) + 2282 bytes
[77] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *)(1, 250, 3, 0) + 272 bytes
[78] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x124af5b0, 0, 0, 0xffffffff) + 773 bytes
[79] m_interpreter.dll:_inWordsj(0, 0x00cde71c, 0, 0x00cde77c) + 441 bytes
[80] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(0, 0x00cde71c, 0, 0x00cde77c) + 158 bytes
[81] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0, 0x00cde71c, 0) + 28 bytes
[82] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cde71c, 0, 0x00cde77c) + 26 bytes
[83] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cde71c, 0, 0x00cde77c) + 273 bytes
[84] m_interpreter.dll:_inDispatchFromStack(556, 0x012f3424 "simira", 0, 0) + 891 bytes
[85] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x012f3424 "simira", 556, 0, 0) + 111 bytes
[86] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *)(2, 0, 0, 0) + 2411 bytes
[87] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *)(2, 0, 0, 0) + 272 bytes
[88] m_interpreter.dll:_inInterPcode(2, 0x7876f2d8, 0, 0) + 69 bytes
[89] m_interpreter.dll:enum inExecutionStatus __cdecl in_local_call_eval_function(int *,struct _pcodeheader *,int *,struct mxArray_tag * * const,enum inDebugCheck)(0x00cdf2c8, 0x00cdf3bc, 2, 0x1248e8d0 "simira\n") + 162 bytes
[90] m_interpreter.dll:$L72592(0x7876f2d8, 0x1248e8d0 "simira\n", 7, 0) + 196 bytes
[91] m_interpreter.dll:enum inExecutionStatus __cdecl inEvalCmdWithLocalReturnandtype(char const *,int *,enum inDebugCheck)(0, 2, 1, 0x00cdf44c "ôôÍ") + 86 bytes
[92] m_interpreter.dll:_inEvalCmdNoEnd(0x1248e8d0 "simira\n", 0x00cdf4e4, 0x00cdf4a0, 0x014c22e0) + 16 bytes
[93] bridge.dll:_mnParser(0x7c80b741, 0x014c22e0, 0, 0) + 431 bytes
[94] mcr.dll:public: void __thiscall mcrInstance::mnParser(void)(271242, 0x4d5c3a43, 0x414c5441, 0x625c3742) + 87 bytes
[95] MATLAB.exe:0x00401d2f(4194304, 0, 271242, 0x014c22e0)
[96] MATLAB.exe:0x00403e45(0x80000001, 0x01e7e0c4 "p»ÖÆ×ÆØÆq»r»s»t»u»v»ÙÆÚÆw»x»y»z»..", 0x7ffdf000, 0x8054b6ed)
[97] kernel32.dll:0x7c817077(0x00403cc0 "jth(U@", 0, 0, 0)
Please follow these steps in reporting this problem to The MathWorks so
that we have the best chance of correcting it:
1. Send this crash report to segv@mathworks.com for automated analysis.
For your convenience, this information has been recorded in:
C:\DOCUME~1\atraqsam\LOCALS~1\Temp\matlab_crash_dump.5928
2. Also, if the problem is reproducible, send the crash report to
support@mathworks.com along with:
- A specific list of steps that will reproduce the problem
- Any M, MEX, MDL or other files required to reproduce the problem
- Any error messages displayed to the command window
A technical support engineer will contact you with further information.
Thank you for your assistance. Please save your workspace and restart
MATLAB before continuing your work.
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{:});
6 Comments
Ken Atwell
on 10 Apr 2012
This is a crash in a relatively old version of MATLAB (circa 2004)... do you have access to a newer version to see if matters improve?
simira atraqi
on 11 Apr 2012
OK I will try
thanks
simira atraqi
on 11 Apr 2012
How can I add figure here.
simira atraqi
on 11 Apr 2012
I do not have new version, but if it works with new version how can I change it to work with Matlab 7.
Thank you very much
Walter Roberson
on 11 Apr 2012
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup
Image Analyst
on 12 Apr 2012
Contact the Mathworks when you get any segmentation violation.
See Also
Categories
Find more on Function Creation in Help Center and File Exchange
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)