matlab中关闭mexfunction,mex文件的运行时Matlab自动关闭

下面这段话是关闭之前的部分弹出信息:

Stack Trace:

[0] midu.dll:0x10941035(0x0a561ce8, 0x249c0028, 0x0a57fad8, 0x148bb098)

[1] midu.dll:0x109410f5(1, 0x00dfc88c, 2, 0x00dfc990)

[2] libmex.dll:_mexRunMexFile(1, 0x00dfc88c, 2, 0x00dfc990) + 71 bytes

[3] m_interpreter.dll:void __cdecl inCallMexFunction(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const,void (__cdecl*)(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const),struct _mex_context *,struct mexfiles *)(1, 0x00dfc88c, 2, 0x00dfc990) + 476 bytes

[4] m_interpreter.dll:void __cdecl inRunMexFile(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const,struct mexfiles *)(1, 0x00dfc88c, 2, 0x00dfc990) + 126 bytes

[5] m_interpreter.dll:void __cdecl inExecMexFile(int,int,struct mxArray_tag * * const,struct MATLAB_Function_tag *)(1, 2, 0x00dfc990, 0x014ed7f0) + 82 bytes

[6] m_interpreter.dll:_inExecFunction(1, 2, 0x00dfc990, 0x014ed7f0) + 38 bytes

[7] m_interpreter.dll:_inMMexExecute(575, 0x014ed7f0, 1, 2) + 533 bytes

[8] m_interpreter.dll:_inCallFcnFromReference(0x00dfccec, 0x7a74466c, 0x14802430, 0x66666666) + 213 bytes

[9] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,struct inPcodeNest_tag volatile *)(1, 59, 0, 0x013baf18) + 4242 bytes

[10] m_interpreter.dll:_inInterPcode(1, 0x00dfcdc0, 0, 0x14802430) + 193 bytes

[11] m_interpreter.dll:_inExecCompScript(0x14802430, 0x14802430, 0x00dfd3cc, 0x00dfd698) + 991 bytes

[12] m_interpreter.dll:bool __cdecl inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct word *,bool)(0, 0x00dfd3cc, 0, 0x00dfd6d4) + 106 bytes

[13] m_interpreter.dll:void __cdecl inExecMFile(int,int,struct mxArray_tag * * const,struct MATLAB_Function_tag *)(0, 0, 0x00dfd6d4, 0x14802430) + 70 bytes

[14] m_interpreter.dll:_inExecFunction(0, 0, 0x00dfd6d4, 0x14802430) + 38 bytes

[15] m_interpreter.dll:_inMMexExecute(573, 0x14802430, 0, 0) + 533 bytes

[16] m_interpreter.dll:enum opcodes __cdecl inMMex(char const *,int,int,int,int *,int *)(0x0142350c "yichuansuanfa", 573, 0, 0) + 94 bytes

[17] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,struct inPcodeNest_tag volatile *)(2, 0, 0, 0x013ae1e0) + 2143 bytes

[18] m_interpreter.dll:_inInterPcode(2, 0x00dfdc54, 0, 0) + 193 bytes

[19] m_interpreter.dll:enum inExecutionStatus __cdecl in_local_call_eval_function(int *,struct _m_parser_interface *,struct _pcodeheader *,int *,struct mxArray_tag * * const,enum inDebugCheck)(0, 0x7a87fa78, 0x00dfdc54, 0x00dfdcf8) + 174 bytes

[20] m_interpreter.dll:_inEvalStringWithIsVarFcn(0x147e1340 "yichuansuanfa\n", 14, 0, 0) + 531 bytes

[21] m_interpreter.dll:_inEvalString(0x147e1340 "yichuansuanfa\n", 14, 0, 0) + 50 bytes

[22] m_interpreter.dll:enum inExecutionStatus __cdecl inEvalCmdWithLocalReturnandtype(char const *,int *,enum inDebugCheck)(0x147e1340 "yichuansuanfa\n", 0, 2, 0x00dfde30) + 68 bytes

[23] m_interpreter.dll:_inEvalCmdNoEnd(0x147e1340 "yichuansuanfa\n", 1, 0x0047f617, 11) + 16 bytes

[24] matlab.exe:_mnParser(0x042edd7c, 271244, 0, 48) + 1001 bytes

[25] matlab.exe:_WinMain@16(4194304, 0, 271244, 1) + 3872 bytes

[26] matlab.exe:_WinMainCRTStartup(0x042edd7c, 0x7c93003d, 0x7ffd4000, 0x80545c7d) + 308 bytes

[27] kernel32.dll:0x7c817077(0x0047172c, 0, 0, 0)

This error was detected while a MEX-file was running.  If the MEX-file

is not an official MathWorks

function, please examine its source code

for errors.  Please consult the External Interfaces Guide for information

on debugging MEX-files.

If it is an official MathWorks function, 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.1108

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 prior to this crash report

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 ==> i:\midu.dll

Error in ==> i:\yichuansuanfa.m

On line 59  ==>  w=midu(zz,Sz);

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值