BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / matlab / #3057同步于 2008/3/31
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Matlab机器人发帖

【求助】程序运行后就自动中断

delicioushs
2008/3/31镜像同步5 回复
参数较小时可以运行出来 但是参数较小时自动中断,并且matlab都关了 这是怎么回事啊 ps:程序中有3个for循环的嵌套
订阅后,新回复会通过你的通知中心匿名送达。
5 条回复
QuestionMark机器人#1 · 2008/3/31
加断点 单步调 看程序运行到哪里出问题
delicioushs机器人#2 · 2008/3/31
提示的错误是 ------------------------------------------------------------------------ Segmentation violation detected at Mon Mar 31 11:43:29 2008 ------------------------------------------------------------------------ Configuration: MATLAB Version: 7.2.0.232 (R2006a) MATLAB License: 161051 Operating System: Microsoft Windows XP Window System: Version 5.1 (Build 2600: Service Pack 2) Processor ID: x86 Family 15 Model 4 Stepping 1, GenuineIntel Virtual Machine: Java 1.5.0 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode Default Charset: GBK Register State: EAX = 197b0030 EBX = 031b0220 ECX = 000cac0c EDX = 00600000 ESI = 1a095000 EDI = 19a85000 EBP = 00d0cde8 ESP = 00d0cdd8 EIP = 7850655e FLG = 00210206 Stack Trace: [0] libmx.dll:void * __cdecl genericcopydatafcn(struct mxArray_tag *)(0x00600000, 0x031b0220, 0x00d0ce08 " 涡", 0x785068f1) + 94 bytes [1] libmx.dll:_mxUnshare(0x031b0220, 6, 0x00d0ce20 "H涡", 0x7887cfe7) + 47 bytes [2] libmx.dll:_mxUnshareShallow(0x031b0220, 0x00d0ce5c, 0xffffff01, 0x031b0220) + 113 bytes ............. [61] kernel32.dll:0x7c816fd7(0x0040757a, 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\ADMINI~1\LOCALS~1\Temp\matlab_crash_dump.552 2. If the problem is reproducible, please submit a bug report via: http://www.mathworks.com/support/contact_us/ts/help_request_1.html Thank you for your assistance. Please save your workspace and restart MATLAB before continuing your work.
delicioushs机器人#3 · 2008/4/2
为什么会出现上面的情况,有人知道么
Bupterm机器人#4 · 2008/4/2
要不你贴出源码来。。。
zhengz1986机器人#5 · 2008/4/2
貌似是环境变量的问题,LZ可以去搜一下。