24小时热门版块排行榜    

查看: 2172  |  回复: 7

我爱小虫子

新虫 (正式写手)

[求助] matlab一运行就出现的问题

之前用的挺好的,现在一运行,就出现这样的错误,实在不知道怎么办了,百度了,也没解决,好像也没什么办法,电脑重启了,软件也重装了,就是没有效果,希望知道的大神给指点一下,谢谢啊
-----------------------------------------------------------------------
       Segmentation violation detected at Fri Nov 08 09:05:26 2013
------------------------------------------------------------------------

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 13, GenuineIntel
  Virtual Machine:  Java 1.4.2 with Sun Microsystems Inc. Java HotSpot(TM) Client VM
    (mixed mode)
  Default Charset:  ibm-1386_P100-2002

Register State:
  EAX = 2830dc00  EBX = 00cddd74
  ECX = 282df9d8  EDX = 00000001
  ESI = 28532970  EDI = 014ebb60
  EBP = 00cddd14  ESP = 00cddd04
  EIP = 00000000  FLG = 00210206

Stack Trace:
  [0] libmwgui.dll:void __cdecl wm_ShowWindow(struct WinRec_tag *)(0x28532970, 0x28139530, 0x00cde09c, 1) + 30 bytes
  [1] hg.dll:void __cdecl set_root_CurrentFigure(struct GObject_tag *,struct GObject_tag *)(0x014ebb60, 0x28139530, 0x01343b60, 0xffffffff) + 302 bytes
  [2] hg.dll:_hgFigure(0, 0x00cde03c, 1, 0x00cde09c) + 205 bytes
  [3] m_dispatcher.dll:public: virtual void __thiscall Mfh_builtin<struct mxArray_tag>::dispatch_mf(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cde03c, 1, 0x00cde09c) + 55 bytes
  [4] m_dispatcher.dll:public: virtual void __thiscall Mfh_MATLAB_fn::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cde03c, 1, 0x00cde09c) + 200 bytes
  [5] m_interpreter.dll:_inDispatchFromStack(166, 0x014bde73 "figure", 0, 1) + 891 bytes
  [6] m_interpreter.dll:_inCallFcnFromReference(0, 0x28be50e0, 0x789b59c0, 0xcccccccd) + 176 bytes
  [7] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *)(1, 0, 130, 0) + 4115 bytes
  [8] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *)(1, 0, 3, 0) + 272 bytes
  [9] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x27e6d150, 1, 0, 0x27e6d150) + 773 bytes
  [10] m_interpreter.dll:_inExecCompScript(0, 0x00cde71c, 0x27e6d150, 0xffffffff) + 321 bytes
  [11] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(0, 0x00cde71c, 0, 0x00cde77c) + 122 bytes
  [12] 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
  [13] 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
  [14] 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
  [15] m_interpreter.dll:_inDispatchFromStack(777, 0x2fe4c204 "laping", 0, 0) + 891 bytes
  [16] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x2fe4c204 "laping", 777, 0, 0) + 111 bytes
  [17] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *)(2, 0, 0, 0) + 2411 bytes
  [18] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *)(2, 0, 0, 0) + 272 bytes
  [19] m_interpreter.dll:_inInterPcode(2, 0x7876f2d8, 0, 0) + 69 bytes
  [20] m_interpreter.dll:enum inExecutionStatus __cdecl in_local_call_eval_function(int *,struct _pcodeheader *,int *,struct mxArray_tag * * const,enum inDebugCheck)(0x00cdf2c8, 0x00cdf3bc, 2, 0x0fd6ffe0 "laping\n" + 162 bytes
  [21] m_interpreter.dll:$L72592(0x7876f2d8, 0x0fd6ffe0 "laping\n", 7, 0) + 196 bytes
  [22] m_interpreter.dll:enum inExecutionStatus __cdecl inEvalCmdWithLocalReturnandtype(char const *,int *,enum inDebugCheck)(0, 2, 1, 0x00cdf44c "趑� + 86 bytes
  [23] m_interpreter.dll:_inEvalCmdNoEnd(0x0fd6ffe0 "laping\n", 0x00cdf4e4, 0x00cdf4a0, 0x014c1fd0) + 16 bytes
  [24] bridge.dll:_mnParser(0x7c80b741, 0x014c1fd0, 0, 0) + 431 bytes
  [25] mcr.dll:public: void __thiscall mcrInstance::mnParser(void)(271242, 0x4d5c3a43, 0x414c5441, 0x625c3742) + 87 bytes
  [26] MATLAB.exe:0x00401d2f(4194304, 0, 271242, 0x014c1fd0)
  [27] MATLAB.exe:0x00403e45(0x022f72b0, 0x0323a611, 0x7ffdd000, 0x8054c6ed)
  [28] kernel32.dll:0x7c81776f(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\my\LOCALS~1\Temp\matlab_crash_dump.3676

  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 ==> text at 130
figure(1);

>>
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zjfbit

铁虫 (初入文坛)

【答案】应助回帖

感谢参与,应助指数 +1
看一下下面这句在哪个文件里
Error in ==> text at 130
figure(1);

有人说是堆栈溢出:
http://stackoverflow.com/questions/13293956/segmentation-violation-detected-matlab
要修改startup.m

Solved by changing the default renderer to zbuffer. Add this line to the startup.m file:

set(0, 'DefaultFigureRenderer', 'zbuffer');

» 本帖已获得的红花(最新10朵)

天下武功,唯快不破
2楼2013-11-08 14:17:51
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

363418323

铁虫 (正式写手)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
我爱小虫子: 金币+20, ★★★很有帮助, 谢谢 2013-11-09 16:47:43
系统重装要慎重,主要还是软件的问题,换个版本装下。
我这里有2013a的版本,如果需要,说下。
有安装说明,
我自己用的
thepursuitofhappiness
3楼2013-11-09 15:38:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

我爱小虫子

新虫 (正式写手)

引用回帖:
3楼: Originally posted by 363418323 at 2013-11-09 15:38:01
系统重装要慎重,主要还是软件的问题,换个版本装下。
我这里有2013a的版本,如果需要,说下。
有安装说明,
我自己用的

嗯嗯,谢谢哦,刚刚给同学要了一个2012b版本的,装了半天了,还是有问题,,给你留个邮箱吧,有空发给俺吧。。。非常感谢,好人一生平安
4楼2013-11-09 16:47:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

我爱小虫子

新虫 (正式写手)

送红花一朵
引用回帖:
2楼: Originally posted by zjfbit at 2013-11-08 14:17:51
看一下下面这句在哪个文件里
Error in ==> text at 130
figure(1);

有人说是堆栈溢出:
http://stackoverflow.com/questions/13293956/segmentation-violation-detected-matlab
要修改startup.m

Solve ...

非常感谢,这次决定重装了,实在是头大了,。。。我会认真看的,谢谢你。。。金币暂时撒没了,送你一朵小红花吧,祝好运~
5楼2013-11-09 16:53:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhaodianbo

铁虫 (小有名气)

参照
http://www.mathworks.com/matlabcentral/answers/4670
6楼2013-11-12 20:59:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

claire_zj

银虫 (初入文坛)

你是不是之前安装过ARCGIS,要是安装过的话可能是注册表被修改了
7楼2013-12-07 12:40:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

我爱小虫子

新虫 (正式写手)

引用回帖:
7楼: Originally posted by claire_zj at 2013-12-07 12:40:41
你是不是之前安装过ARCGIS,要是安装过的话可能是注册表被修改了

没有装过呢,,,几天不用了,现在又好了
8楼2013-12-10 18:52:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 我爱小虫子 的主题更新
信息提示
请填处理意见