为什么我的程序单步调试没问题,而直接运行就会有错误?下面是一大堆的错误提示:
------------------------------------------------------------------------
Segmentation violation detected at Mon Mar 29 09:37:12 2010
------------------------------------------------------------------------
Configuration:
MATLAB Version: 7.8.0.347 (R2009a)
MATLAB License: 161051
Operating System: Microsoft Windows Vista
Window System: Version 6.1 (Build 7600)
Processor ID: x86 Family 6 Model 15 Stepping 6, GenuineIntel
Virtual Machine: Java 1.6.0_04-b12 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
Default Encoding: GBK
Fault Count: 1
Register State:
EAX = 0511bc50 EBX = 1deaf0d0
ECX = 012b0000 EDX = 1deaf0d0
ESI = 2a088bc6 EDI = 1deaf0c8
EBP = 00c28a68 ESP = 00c28a34
EIP = 77511ffe FLG = 00210206
Stack Trace:
[0] ntdll.dll:0x77511ffe(0x1deaf0d0, 0x7b291e70, 0x0e7d6468, 0x1deaf0c8)
[1] ntdll.dll:0x77511faf(0x012b0000, 0, 0x1deaf0d0, 0x00c28ae0)
[2] kernel32.dll:0x75a5f1cc(0x012b0000, 0, 0x1deaf0d0, 0x4b3ed314)
[3] MSVCR80.dll:0x71584c39(0x1deaf0d0, 0x00c28bb8, 0x7a0c52e5, 0x1deaf0d0)
[4] libut.dll:_utFree(0x1deaf0d0, 0x0f3c0ef0, 0x00c29504, 0x0e7d6468) + 30 bytes
[5] m_interpreter.dll:public: bool __thiscall inPredictor::Lookup(class Mfh_MATLAB_fn *,struct inPredictorContext,int,class mpsType *,int,class mpsType const *,enum inPredictorFlags *,bool)(0x0f3c0ef0, 0x0e7d6468, 1, 0x00c29558) + 1781 bytes
[6] m_interpreter.dll:public: bool __thi