MATLAB: Msg error in matlab

When I execute my function I have this msg appears that I don't understand what the problem
I am a beginner in matlab please help me.
<
———————————————————————— Segmentation violation detected at Fri Mar 11 10:47:52 2011 ————————————————————————
Configuration:
MATLAB Version: 7.1.0.246 (R14) Service Pack 3
MATLAB License: 160457
Operating System: Microsoft Windows XP
Window System: Version 5.1 (Build 2600: Service Pack 3)
Processor ID: x86 Family 6 Model 5 Stepping 5, GenuineIntel
Virtual Machine: Java 1.5.0 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
Default Charset: windows-1252
Register State:
EAX = dd000000 EBX = dd000000
ECX = 00cd66ac EDX = 785f284c
ESI = 012e2e10 EDI = 12d7a510
EBP = 00cd66d4 ESP = 00cd66ac
EIP = 78751031 FLG = 00010286
Stack Trace:
[0] m_interpreter.dll:public: virtual void __thiscall FunctionHandleWorkspaceCI::customLoad(class mcos::COSInterfacePtr,class mcos::COSValue,class mcos::COSDataTypePtr)(0x132586c0, 0x12e82720, 0x0281c180, 0x003b4b20 "Ô._x´._x") + 401 bytes
[1] mcos.dll:public: virtual void __thiscall mcos::COSClassI::customLoad(class mcos::COSInterfacePtr,class mcos::COSValue,class mcos::COSDataTypePtr)(0x132586c0, 0x12e82720, 0x00cd66dc, 0x003b4b20 "Ô._x´._x") + 102 bytes
[2] mcos.dll:$L96755(0x00cd67bc, 3805756, 0, 0x00cd67d0 "ìgÍ") + 134 bytes
[3] mcos.dll:public: virtual class mcos::COSInterfacePtr __thiscall mcos::File::getInterface(unsigned int)const (0x00cd67bc, 1, 0x12e83360, 0) + 32 bytes
[4] mcos.dll:public: struct mxArray_tag * __thiscall mcos::File::convertCOSInterfaceFromMatrix(struct mxArray_tag const *)(0x0ffad460, 0x12e83360, 0x00cdac10 "X¬Í", 0x785ecc5b) + 134 bytes
[5] mcos.dll:struct mxArray_tag * __cdecl mcosConvertFromMATFileArray(struct mxArray_tag const *,struct mxArray_tag const * *)(0x12e83360, 0x00cd6820, 0x12e83360, 0x12e81420) + 128 bytes
[6] mcos.dll:_omLoadOpaque(0x12e81420, 0x12e83360, 0x00cd6820, 0x01c61340 "MCOS") + 24 bytes
[7] libmx.dll:int __cdecl miConvertToOpaque(struct miStreamRec_tag *,struct mxArray_tag *,struct mxArray_tag const *,struct mxArray_tag * *)(0x028321e0 "IM", 0x12e83360, 0x00cd7070, 3) + 39 bytes
[8] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x028321e0 "IM", 0x00cd78ac, 0, 0) + 3220 bytes
[9] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x028321e0 "IM", 0x00cd8100, 0, 0) + 3797 bytes
[10] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x028321e0 "IM", 0x00cd8954, 0, 0) + 3797 bytes
[11] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x028321e0 "IM", 0x00cd91a8, 0, 0) + 4326 bytes
[12] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x028321e0 "IM", 0x00cd99fc, 0, 0) + 3797 bytes
[13] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x028321e0 "IM", 0x00cda250, 0, 0) + 3797 bytes
[14] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x028321e0 "IM", 0x00cdaaa4, 0, 0) + 3797 bytes
[15] libmx.dll:int __cdecl _HandleArrayForStream(struct miStreamRec_tag *,struct miItem_tag *,int,int)(0x028321e0 "IM", 0x00cdab04, 0, 0) + 3797 bytes
[16] libmx.dll:_miGetItemData(0x028321e0 "IM", 0x00cdab04, 0xffffffff, 0) + 146 bytes
[17] libmx.dll:_miGetItem(0x028321e0 "IM", 0x00cdab34, 128, 14) + 263 bytes
[18] libmat.dll:struct mxArray_tag * __cdecl matGetValueAtOffset(struct MATFile_tag *,char *,int)(0x131fc8a0, 0x12d84990, 128, 0x00cdab68) + 49 bytes
[19] libmat.dll:struct mxArray_tag * __cdecl matGetVariable5(struct MATFile_tag *,char const *)(0x131fc8a0, 0x12d84994 "hgS_070000", 0x00cdac1c "d¬Í", 0x78937585) + 40 bytes
[20] libmat.dll:_matGetVariable(0x131fc8a0, 0x12d84994 "hgS_070000", 0, 0x01c665d7) + 24 bytes
[21] m_interpreter.dll:void __cdecl inLoadFcnPrivate(char const *,int,char * *,bool,int,int,class LoadDestination *)(0x00cdad64 "d:\Documents and Settings\scharm..", 0, 0x00cdac9c, 0x00cdb500 "x¶Í") + 709 bytes
[22] m_interpreter.dll:_inLoadFcnWithLHS(0x00cdad64 "d:\Documents and Settings\scharm..", 0, 0x00cdac9c, 1) + 154 bytes
[23] m_interpreter.dll:_inFullLoadFcn(1, 0x00cdb558, 2, 0x00cdb5b8) + 873 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, 0x00cdb558, 2, 0x00cdb5b8) + 55 bytes
[25] m_dispatcher.dll:public: virtual void __thiscall Mfh_MATLAB_fn::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdb558, 2, 0x00cdb5b8) + 200 bytes
[26] m_interpreter.dll:int __cdecl mdDispatch(int,char const *,int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_MATLAB_fn * *)(313, 0x12e47e48 "load", 1, 0x00cdb558) + 88 bytes
[27] m_interpreter.dll:_inDispatchFromStack(0, 0x12e47e48 "load", 1, 2) + 800 bytes
[28] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x12e47e48 "load", 0, 1, 2) + 145 bytes
[29] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(1, 1746, 43, 0) + 2534 bytes
[30] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 1746, 39, 0) + 282 bytes
[31] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x12e99860, 0, 2, 0x00cdbd40) + 724 bytes
[32] m_interpreter.dll:_inWordsj(2, 0x00cdbce0, 2, 0x00cdbd40) + 443 bytes
[33] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(2, 0x00cdbce0, 2, 0x00cdbd40) + 164 bytes
[34] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 2, 0x00cdbce0, 2) + 28 bytes
[35] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(2, 0x00cdbce0, 2, 0x00cdbd40) + 26 bytes
[36] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(2, 0x00cdbce0, 2, 0x00cdbd40) + 271 bytes
[37] m_interpreter.dll:int __cdecl mdDispatch(int,char const *,int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_MATLAB_fn * *)(639, 0x0280090c "hgload", 2, 0x00cdbce0) + 88 bytes
[38] m_interpreter.dll:_inDispatchFromStack(639, 0x0280090c "hgload", 2, 2) + 800 bytes
[39] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x0280090c "hgload", 639, 2, 2) + 145 bytes
[40] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(1, 1231, 85, 0) + 2534 bytes
[41] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 1231, 34, 0) + 282 bytes
[42] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x12e94620, 0, 3, 0x00cdc3d0) + 724 bytes
[43] m_interpreter.dll:_inWordsj(1, 0x00cdc340, 3, 0x00cdc3d0) + 443 bytes
[44] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(1, 0x00cdc340, 3, 0x00cdc3d0) + 164 bytes
[45] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 1, 0x00cdc340, 3) + 28 bytes
[46] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdc340, 3, 0x00cdc3d0) + 26 bytes
[47] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdc340, 3, 0x00cdc3d0) + 271 bytes
[48] m_interpreter.dll:void __cdecl mdCallFunction(int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_MATLAB_fn *)(1, 0x00cdc340, 3, 0x00cdc3d0) + 56 bytes
[49] m_interpreter.dll:public: void __thiscall ResolverFunctionDesc::CallFunction(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const)(1, 0x00cdc340, 3, 0x00cdc3d0) + 94 bytes
[50] 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, 0x0ffae060, 0) + 947 bytes
[51] 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 const *,int)(0x0f289748, 1, 1, 0x0ffae060) + 150 bytes
[52] m_interpreter.dll:bool __cdecl accelMFunctionCall(struct _accelOp *,struct _accelOp * *,int *,enum inMarshalType *)(0x12e6f6e0, 0x00cdc998, 0x00cdc984, 0x00cdcb24) + 161 bytes
[53] m_interpreter.dll:public: enum jitReturnFlags __thiscall accelCode::Call(enum inMarshalType *,int *)const (0x00cdcb24, 0x00cdcd60, 0x00cdcb38 "pÌÍ", 0x787683d1) + 21152 bytes
[54] m_interpreter.dll:int __cdecl inAccel(class accelCode *,enum inMarshalType *,int *)(0x12d82320, 0x00cdcb24, 0x00cdcd60, 0x00cdcd60) + 19 bytes
[55] m_interpreter.dll:bool __cdecl inExecuteHotSegment(struct _inJitAccelInfo *,enum opcodes *,int *,int *)(0x00cdcbc8, 0x00cdcc84, 0x00cdcc34, 0x00cdcd60) + 1585 bytes
[56] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(1, 157, 216, 0) + 287 bytes
[57] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 157, 211, 0) + 282 bytes
[58] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x12e947e0, 0, 2, 0x00cdd108) + 724 bytes
[59] m_interpreter.dll:_inWordsj(1, 0x00cdd078, 2, 0x00cdd108) + 443 bytes
[60] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(1, 0x00cdd078, 2, 0x00cdd108) + 164 bytes
[61] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 1, 0x00cdd078, 2) + 28 bytes
[62] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdd078, 2, 0x00cdd108) + 26 bytes
[63] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdd078, 2, 0x00cdd108) + 271 bytes
[64] m_interpreter.dll:void __cdecl mdCallFunction(int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_MATLAB_fn *)(1, 0x00cdd078, 2, 0x00cdd108) + 56 bytes
[65] m_interpreter.dll:public: void __thiscall ResolverFunctionDesc::CallFunction(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const)(1, 0x00cdd078, 2, 0x00cdd108) + 94 bytes
[66] 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, 0x0ffae3e0, 0) + 947 bytes
[67] 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 const *,int)(0x0f288a38, 1, 1, 0x0ffae3e0) + 150 bytes
[68] m_interpreter.dll:bool __cdecl accelMFunctionCall(struct _accelOp *,struct _accelOp * *,int *,enum inMarshalType *)(0x12e44220, 0x00cdd6d0, 0x00cdd6bc, 0x00cdd85c) + 161 bytes
[69] m_interpreter.dll:public: enum jitReturnFlags __thiscall accelCode::Call(enum inMarshalType *,int *)const (0x00cdd85c, 0x00cdda98, 0x00cdd870 "¨ÙÍ", 0x787683d1) + 21152 bytes
[70] m_interpreter.dll:int __cdecl inAccel(class accelCode *,enum inMarshalType *,int *)(0x12d82fb0, 0x00cdd85c, 0x00cdda98, 0x00cdda98) + 19 bytes
[71] m_interpreter.dll:bool __cdecl inExecuteHotSegment(struct _inJitAccelInfo *,enum opcodes *,int *,int *)(0x00cdd900, 0x00cdd9bc, 0x00cdd96c, 0x00cdda98) + 1585 bytes
[72] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(1, 2259, 77, 0) + 287 bytes
[73] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 2259, 37, 0) + 282 bytes
[74] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x02e69be0, 0, 1, 0x00cddf38) + 724 bytes
[75] m_interpreter.dll:_inWordsj(0, 0x00cdded8, 1, 0x00cddf38) + 443 bytes
[76] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(0, 0x00cdded8, 1, 0x00cddf38) + 164 bytes
[77] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0, 0x00cdded8, 1) + 28 bytes
[78] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cdded8, 1, 0x00cddf38) + 26 bytes
[79] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cdded8, 1, 0x00cddf38) + 271 bytes
[80] m_interpreter.dll:int __cdecl mdDispatch(int,char const *,int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_MATLAB_fn * *)(622, 0x01d47864 "gui_mainfcn", 0, 0x00cdded8) + 88 bytes
[81] m_interpreter.dll:_inDispatchFromStack(622, 0x01d47864 "gui_mainfcn", 0, 0x01ffffff) + 800 bytes
[82] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x01d47864 "gui_mainfcn", 622, 0, 0xffffffff) + 145 bytes
[83] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(1, 274, 44, 0) + 2534 bytes
[84] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 274, 28, 0) + 282 bytes
[85] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x02e040e0, 0, 0, 0x00cde6c0) + 724 bytes
[86] m_interpreter.dll:_inWordsj(0, 0x00cde660, 0, 0x00cde6c0) + 443 bytes
[87] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(0, 0x00cde660, 0, 0x00cde6c0) + 164 bytes
[88] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0, 0x00cde660, 0) + 28 bytes
[89] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cde660, 0, 0x00cde6c0) + 26 bytes
[90] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cde660, 0, 0x00cde6c0) + 271 bytes
[91] m_interpreter.dll:int __cdecl mdDispatch(int,char const *,int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_MATLAB_fn * *)(621, 0x01d72e74 "fct", 0, 0x00cde660) + 88 bytes
[92] m_interpreter.dll:_inDispatchFromStack(621, 0x01d72e74 "fct", 0, 0) + 800 bytes
[93] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x01d72e74 "fct", 621, 0, 0) + 145 bytes
[94] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(2, 0, 0, 0) + 2534 bytes
[95] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(2, 0, 0, 0) + 282 bytes
[96] m_interpreter.dll:_inInterPcode(2, 0x784d6e7c, 0, 0) + 81 bytes
[97] m_interpreter.dll:enum inExecutionStatus __cdecl in_local_call_eval_function(int *,struct _pcodeheader *,int *,struct mxArray_tag * * const,enum inDebugCheck)(0x00cdf278, 0x00cdf370, 2, 1) + 153 bytes
[98] m_interpreter.dll:$L74683(0x784d6e7c, 0x02c19920 "fct\n", 0, 0) + 184 bytes
[99] m_interpreter.dll:enum inExecutionStatus __cdecl inEvalCmdWithLocalReturnandtype(char const *,int *,enum inDebugCheck)(0x02c19920 "fct\n", 0, 2, 0x00cdf3bc "DôÍ") + 69 bytes
[100] m_interpreter.dll:_inEvalCmdNoEnd(0x02c19920 "fct\n", 1, 255, 0) + 16 bytes
[101] bridge.dll:enum inExecutionStatus __cdecl ThrowSignal(char const *)(0x02c19920 "fct\n", 0x7c80b741, 0x01207688, 0x01207688) + 60 bytes
[102] bridge.dll:$L86781(0, 0, 0x784d6e58, 0x7c36b71f) + 432 bytes
[103] mcr.dll:public: void __thiscall mcrInstance::mnParser(void)(271289, 0x505c3a43, 0x72676f72, 0x46206d61) + 93 bytes
[104] MATLAB.exe:0x00401ca9(4194304, 0, 271289, 0x01207688)
[105] MATLAB.exe:0x00403d9f(0x80000001, 0x026ae0c4, 0x7ffdf000, 0x8054b6ed)
[106] kernel32.dll:0x7c817077(0x00403c1a, 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:
d:\DOCUME~1\SCHARM~1\LOCALS~1\Temp\matlab_crash_dump.560
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 216
gui_hFigure = openfig(name, singleton, 'auto');
Error in ==> gui_mainfcn at 94
gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt);
Error in ==> fct at 44
gui_mainfcn(gui_State, varargin{:});
>

Best Answer

It appears to me that you attempting to open a .fig file which was created in a newer version of Matlab (probably 2009b or later) and your old R14 version of MATLAB is unable to load an object class variable from the .fig file.
If I am correct, there is no work-around. If you are able to open the .fig file in GUIDE on a newer system, then you might be able to export it as a pure .m file -- but I would think it likely that the resulting .m file would not work with your R14 release.