MEX : Matlab and Opencv "Viola and Jones Object Detection"

1 Ansicht (letzte 30 Tage)
Amine Bohi
Amine Bohi am 6 Feb. 2014
Beantwortet: Amine Bohi am 10 Feb. 2014
Hello experts,
I'm working on a project developed in Matlab, and I have to integrate my part that was developed in C + + and OpenCV, my part concerns the object detection in real time.
so I used the Matlab Mex files when I compile "mex detection.cpp" it works fine without error, but when I launch the "detection" function to execute, matlab crashes and gives me the window you will find here http://imageshack.com/a/img543/1959/qsmz.png
I look forward to your support
Thank you
  3 Kommentare
Amine Bohi
Amine Bohi am 7 Feb. 2014
Bearbeitet: Walter Roberson am 7 Feb. 2014
MATLAB crash file:C:\Users\user\AppData\Local\Temp\matlab_crash_dump.5300-1:
------------------------------------------------------------------------
(unknown signal) detected at Fri Feb 07 14:59:42 2014
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Default Encoding: windows-1252
MATLAB Root : C:\Program Files (x86)\MATLAB\R2012a
MATLAB Version : 7.14.0.739 (R2012a)
Operating System: Microsoft Windows 7
Processor ID : x86 Family 6 Model 58 Stepping 9, GenuineIntel
Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
Window System : Version 6.1 (Build 7601: Service Pack 1)
Fault Count: 1
Abnormal termination:
(unknown signal)
Register State (from fault):
EAX = 00000001 EBX = 00000000
ECX = 3d9b8d53 EDX = 00ad60b8
ESP = 00a6cdb8 EBP = 00a6cdb8
ESI = 00a6cdcc EDI = 00a6ce5c
EIP = 5e539923 EFL = 00200246
CS = 00000023 DS = 0000002b SS = 0000002b
ES = 0000002b FS = 00000053 GS = 0000002b
Stack Trace (from fault):
[ 0] 0x5e539923 C:\Windows\system32\MSVCP100D.dll+00301347 ( std::_Debug_message+000035 )
[ 1] 0x5cf899e8 C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00170472 std::_Vector_const_iterator<std::_Vector_val<cv::Rect_<int>,std::allocator<cv::Rect_<int> > > >::operator+=+000104
[ 2] 0x5cf888ba C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00166074 std::_Vector_iterator<std::_Vector_val<cv::Rect_<int>,std::allocator<cv::Rect_<int> > > >::operator+=+000026
[ 3] 0x5cf85538 C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00152888 std::_Vector_iterator<std::_Vector_val<cv::Rect_<int>,std::allocator<cv::Rect_<int> > > >::operator++000104
[ 4] 0x5cf9953e C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00234814 std::_Transform1<CvAvgComp *,std::_Vector_iterator<std::_Vector_val<cv::Rect_<int>,std::allocator<cv::Rect_<int> > > >,cv::getRect>+000094
[ 5] 0x5cf9513a C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00217402 std::_Transform1<CvAvgComp *,std::_Vector_iterator<std::_Vector_val<cv::Rect_<int>,std::allocator<cv::Rect_<int> > > >,cv::getRect>+000170
[ 6] 0x5cf8e3fd C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00189437 std::transform<std::_Vector_iterator<std::_Vector_val<CvAvgComp,std::allocator<CvAvgComp> > >,std::_Vector_iterator<std::_Vector_val<cv::Rect_<int>,std::allocator<cv::Rect_<int> > > >,cv::getRect>+000413
[ 7] 0x5cf7a10c C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00106764 cv::detectMultiScaleOldFormat+000380
[ 8] 0x5cf79dda C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00105946 cv::CascadeClassifier::detectMultiScale+000346
[ 9] 0x5cf7a44b C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00107595 cv::CascadeClassifier::detectMultiScale+000171
[ 10] 0x5e8c163e C:\Users\user\Desktop\Interface_PARE_v3\detection2.mexw32+00005694 ???+000000
[ 11] 0x5e8c19b0 C:\Users\user\Desktop\Interface_PARE_v3\detection2.mexw32+00006576 ( mexFunction+000544 )
[ 12] 0x7459de04 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmex.dll+00056836 ( mexRunMexFile+000132 )
[ 13] 0x7459ca69 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmex.dll+00051817 ( inSwapMexfileReader+000201 )
[ 14] 0x7459cc85 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmex.dll+00052357 ( inSwapMexfileReader+000741 )
[ 15] 0x74479e93 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_dispatcher.dll+00040595 ( Mfh_file::dispatch_fh+000403 )
[ 16] 0x7447a6b6 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_dispatcher.dll+00042678 ( Mfunction_handle::dispatch+000710 )
[ 17] 0x02ca3abd C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00408253 ( inDestroyWS+163005 )
[ 18] 0x02d05fdc C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00810972 ( inEachVisibleName+016684 )
[ 19] 0x02ca6478 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00418936 ( inDestroyWS+173688 )
[ 20] 0x02c93877 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00342135 ( inDestroyWS+096887 )
[ 21] 0x02c93632 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00341554 ( inDestroyWS+096306 )
[ 22] 0x02ca00f9 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00393465 ( inDestroyWS+148217 )
[ 23] 0x02ca2a9c C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00404124 ( inDestroyWS+158876 )
[ 24] 0x02c99ca9 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00367785 ( inDestroyWS+122537 )
[ 25] 0x74479e93 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_dispatcher.dll+00040595 ( Mfh_file::dispatch_fh+000403 )
[ 26] 0x7447a6b6 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_dispatcher.dll+00042678 ( Mfunction_handle::dispatch+000710 )
[ 27] 0x02d13649 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00865865 ( inMainLoopIdle+002281 )
[ 28] 0x02d219bf C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00924095 ( inInitWarningStatusCallback+000623 )
[ 29] 0x02d21b69 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00924521 ( inInitWarningStatusCallback+001049 )
[ 30] 0x02d21b45 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00924485 ( inInitWarningStatusCallback+001013 )
[ 31] 0x02d21b00 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00924416 ( inInitWarningStatusCallback+000944 )
[ 32] 0x02c4c1f7 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00049655 ( inFullFevalFcn+001447 )
[ 33] 0x02d18ec1 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00888513 ( inEvalCmdWithLocalReturnInDesiredWS+000161 )
[ 34] 0x02d18e69 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00888425 ( inEvalCmdWithLocalReturnInDesiredWS+000073 )
[ 35] 0x02d18dce C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00888270 ( inEvalCmdWithLocalReturn+000030 )
[ 36] 0x7e1ce153 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwbridge.dll+00057683 ( mnDebugPrompt+000163 )
[ 37] 0x7e1cf43e C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwbridge.dll+00062526 ( mnParser+000478 )
[ 38] 0x00fb7283 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00488067 ( mcrInstance::mnParser_on_interpreter_thread+000051 )
[ 39] 0x00f7f5c2 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00259522 ( mcrFunctionSignature::mcrFunctionSignature+000658 )
[ 40] 0x00f9e425 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00386085 ( DepfunRules::postWarning+024277 )
[ 41] 0x00f9e4a6 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00386214 ( DepfunRules::postWarning+024406 )
[ 42] 0x047fac69 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\uiw.dll+00306281 ( UIW_IsUserMessage+000121 )
[ 43] 0x047fb1ae C:\Program Files (x86)\MATLAB\R2012a\bin\win32\uiw.dll+00307630 ( ws_ProcessOneEventBlocking+000798 )
[ 44] 0x75ca8336 C:\Windows\syswow64\USER32.dll+00164662 ( RemovePropA+000178 )
[ 45] 0x75c980a9 C:\Windows\syswow64\USER32.dll+00098473 ( GetUserObjectInformationW+000065 )
[ 46] 0x75c98ba1 C:\Windows\syswow64\USER32.dll+00101281 ( RegisterClassW+000316 )
[ 47] 0x771d010a C:\Windows\SysWOW64\ntdll.dll+00065802 ( KiUserCallbackDispatcher+000046 )
[ 48] 0x047dcdf4 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\uiw.dll+00183796 ( UIW_SetCurrentDialog+000564 )
[ 49] 0x047dce4f C:\Program Files (x86)\MATLAB\R2012a\bin\win32\uiw.dll+00183887 ( UIW_SetCurrentDialog+000655 )
[ 50] 0x047fc185 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\uiw.dll+00311685 ( ws_FreeSystemFont+000485 )
[ 51] 0x75575b67 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00613223 ( sysq::ws_ppeHook::previousUpdatesCompleteFcn+009991 )
[ 52] 0x7557657c C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00615804 ( sysq::removeCommitDatabaseUpdatesHook+001388 )
[ 53] 0x75577636 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00620086 ( sysq::removeCommitDatabaseUpdatesHook+005670 )
[ 54] 0x755789b5 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00625077 ( sysq::addProcessPendingEventsUnitTestHook+000293 )
[ 55] 0x75578b44 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00625476 ( sysq::addProcessPendingEventsUnitTestHook+000692 )
[ 56] 0x75578bb6 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00625590 ( sysq::addProcessPendingEventsUnitTestHook+000806 )
[ 57] 0x75578c22 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00625698 ( svWS_ProcessPendingEvents+000018 )
[ 58] 0x00f9f1ce C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00389582 ( DepfunRules::postWarning+027774 )
[ 59] 0x00f9f426 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00390182 ( DepfunRules::postWarning+028374 )
[ 60] 0x00f9f74c C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00390988 ( DepfunRules::postWarning+029180 )
[ 61] 0x00fa09c6 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00395718 ( mcr_invoke_on_interpreter_thread+001014 )
[ 62] 0x011794a2 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\MATLAB.exe+00038050 ( ???+000000 )
[ 63] 0x01179baa C:\Program Files (x86)\MATLAB\R2012a\bin\win32\MATLAB.exe+00039850 ( ???+000000 )
[ 64] 0x01179e13 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\MATLAB.exe+00040467 ( ???+000000 )
[ 65] 0x0117a31d C:\Program Files (x86)\MATLAB\R2012a\bin\win32\MATLAB.exe+00041757 ( ???+000000 )
[ 66] 0x7602336a C:\Windows\syswow64\kernel32.dll+00078698 ( BaseThreadInitThunk+000018 )
[ 67] 0x771f9f72 C:\Windows\SysWOW64\ntdll.dll+00237426 ( RtlInitializeExceptionChain+000099 )
[ 68] 0x771f9f45 C:\Windows\SysWOW64\ntdll.dll+00237381 ( RtlInitializeExceptionChain+000054 )
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 this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.
Amine Bohi
Amine Bohi am 7 Feb. 2014
sorry i can't do a screen shoot because the details are so long

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Amine Bohi
Amine Bohi am 7 Feb. 2014
Bearbeitet: Walter Roberson am 7 Feb. 2014
MATLAB crash file:C:\Users\user\AppData\Local\Temp\matlab_crash_dump.5832-1:
------------------------------------------------------------------------
(unknown signal) detected at Fri Feb 07 14:46:29 2014
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Default Encoding: windows-1252
MATLAB Root : C:\Program Files (x86)\MATLAB\R2012a
MATLAB Version : 7.14.0.739 (R2012a)
Operating System: Microsoft Windows 7
Processor ID : x86 Family 6 Model 58 Stepping 9, GenuineIntel
Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
Window System : Version 6.1 (Build 7601: Service Pack 1)
Fault Count: 1
Abnormal termination:
(unknown signal)
Register State (from fault):
EAX = 00000001 EBX = 00000000
ECX = fc4d5d01 EDX = 00c960b4
ESP = 00b9cef8 EBP = 00b9cef8
ESI = 00b9cf0c EDI = 00b9cf9c
EIP = 5d349923 EFL = 00200246
CS = 00000023 DS = 0000002b SS = 0000002b
ES = 0000002b FS = 00000053 GS = 0000002b
Stack Trace (from fault):
[ 0] 0x5d349923 C:\Windows\system32\MSVCP100D.dll+00301347 ( std::_Debug_message+000035 )
[ 1] 0x5aa299e8 C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00170472 std::_Vector_const_iterator<std::_Vector_val<cv::Rect_<int>,std::allocator<cv::Rect_<int> > > >::operator+=+000104
[ 2] 0x5aa288ba C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00166074 std::_Vector_iterator<std::_Vector_val<cv::Rect_<int>,std::allocator<cv::Rect_<int> > > >::operator+=+000026
[ 3] 0x5aa25538 C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00152888 std::_Vector_iterator<std::_Vector_val<cv::Rect_<int>,std::allocator<cv::Rect_<int> > > >::operator++000104
[ 4] 0x5aa3953e C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00234814 std::_Transform1<CvAvgComp *,std::_Vector_iterator<std::_Vector_val<cv::Rect_<int>,std::allocator<cv::Rect_<int> > > >,cv::getRect>+000094
[ 5] 0x5aa3513a C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00217402 std::_Transform1<CvAvgComp *,std::_Vector_iterator<std::_Vector_val<cv::Rect_<int>,std::allocator<cv::Rect_<int> > > >,cv::getRect>+000170
[ 6] 0x5aa2e3fd C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00189437 std::transform<std::_Vector_iterator<std::_Vector_val<CvAvgComp,std::allocator<CvAvgComp> > >,std::_Vector_iterator<std::_Vector_val<cv::Rect_<int>,std::allocator<cv::Rect_<int> > > >,cv::getRect>+000413
[ 7] 0x5aa1a10c C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00106764 cv::detectMultiScaleOldFormat+000380
[ 8] 0x5aa19dda C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00105946 cv::CascadeClassifier::detectMultiScale+000346
[ 9] 0x5aa1a44b C:\opencv\msvc\install\bin\opencv_objdetect300d.dll+00107595 cv::CascadeClassifier::detectMultiScale+000171
[ 10] 0x6040163e C:\Users\user\Desktop\Interface_PARE_v3\detection2.mexw32+00005694 ???+000000
[ 11] 0x604019b0 C:\Users\user\Desktop\Interface_PARE_v3\detection2.mexw32+00006576 ( mexFunction+000544 )
[ 12] 0x745ade04 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmex.dll+00056836 ( mexRunMexFile+000132 )
[ 13] 0x745aca69 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmex.dll+00051817 ( inSwapMexfileReader+000201 )
[ 14] 0x745acc85 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmex.dll+00052357 ( inSwapMexfileReader+000741 )
[ 15] 0x74489e93 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_dispatcher.dll+00040595 ( Mfh_file::dispatch_fh+000403 )
[ 16] 0x7448a6b6 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_dispatcher.dll+00042678 ( Mfunction_handle::dispatch+000710 )
[ 17] 0x02ca3abd C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00408253 ( inDestroyWS+163005 )
[ 18] 0x02d05fdc C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00810972 ( inEachVisibleName+016684 )
[ 19] 0x02ca6478 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00418936 ( inDestroyWS+173688 )
[ 20] 0x02c93877 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00342135 ( inDestroyWS+096887 )
[ 21] 0x02c93632 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00341554 ( inDestroyWS+096306 )
[ 22] 0x02ca00f9 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00393465 ( inDestroyWS+148217 )
[ 23] 0x02ca2a9c C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00404124 ( inDestroyWS+158876 )
[ 24] 0x02c99ca9 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00367785 ( inDestroyWS+122537 )
[ 25] 0x74489e93 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_dispatcher.dll+00040595 ( Mfh_file::dispatch_fh+000403 )
[ 26] 0x7448a6b6 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_dispatcher.dll+00042678 ( Mfunction_handle::dispatch+000710 )
[ 27] 0x02d13649 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00865865 ( inMainLoopIdle+002281 )
[ 28] 0x02d219bf C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00924095 ( inInitWarningStatusCallback+000623 )
[ 29] 0x02d21b69 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00924521 ( inInitWarningStatusCallback+001049 )
[ 30] 0x02d21b45 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00924485 ( inInitWarningStatusCallback+001013 )
[ 31] 0x02d21b00 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00924416 ( inInitWarningStatusCallback+000944 )
[ 32] 0x02c4c1f7 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00049655 ( inFullFevalFcn+001447 )
[ 33] 0x02d18ec1 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00888513 ( inEvalCmdWithLocalReturnInDesiredWS+000161 )
[ 34] 0x02d18e69 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00888425 ( inEvalCmdWithLocalReturnInDesiredWS+000073 )
[ 35] 0x02d18dce C:\Program Files (x86)\MATLAB\R2012a\bin\win32\m_interpreter.dll+00888270 ( inEvalCmdWithLocalReturn+000030 )
[ 36] 0x7e1ce153 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwbridge.dll+00057683 ( mnDebugPrompt+000163 )
[ 37] 0x7e1cf43e C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwbridge.dll+00062526 ( mnParser+000478 )
[ 38] 0x00fb7283 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00488067 ( mcrInstance::mnParser_on_interpreter_thread+000051 )
[ 39] 0x00f7f5c2 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00259522 ( mcrFunctionSignature::mcrFunctionSignature+000658 )
[ 40] 0x00f9e425 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00386085 ( DepfunRules::postWarning+024277 )
[ 41] 0x00f9e4a6 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00386214 ( DepfunRules::postWarning+024406 )
[ 42] 0x047fac69 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\uiw.dll+00306281 ( UIW_IsUserMessage+000121 )
[ 43] 0x047fb1ae C:\Program Files (x86)\MATLAB\R2012a\bin\win32\uiw.dll+00307630 ( ws_ProcessOneEventBlocking+000798 )
[ 44] 0x75ca8336 C:\Windows\syswow64\USER32.dll+00164662 ( RemovePropA+000178 )
[ 45] 0x75c980a9 C:\Windows\syswow64\USER32.dll+00098473 ( GetUserObjectInformationW+000065 )
[ 46] 0x75c98ba1 C:\Windows\syswow64\USER32.dll+00101281 ( RegisterClassW+000316 )
[ 47] 0x771d010a C:\Windows\SysWOW64\ntdll.dll+00065802 ( KiUserCallbackDispatcher+000046 )
[ 48] 0x047dcdf4 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\uiw.dll+00183796 ( UIW_SetCurrentDialog+000564 )
[ 49] 0x047dce4f C:\Program Files (x86)\MATLAB\R2012a\bin\win32\uiw.dll+00183887 ( UIW_SetCurrentDialog+000655 )
[ 50] 0x047fc185 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\uiw.dll+00311685 ( ws_FreeSystemFont+000485 )
[ 51] 0x75575b67 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00613223 ( sysq::ws_ppeHook::previousUpdatesCompleteFcn+009991 )
[ 52] 0x7557657c C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00615804 ( sysq::removeCommitDatabaseUpdatesHook+001388 )
[ 53] 0x75577636 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00620086 ( sysq::removeCommitDatabaseUpdatesHook+005670 )
[ 54] 0x755789b5 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00625077 ( sysq::addProcessPendingEventsUnitTestHook+000293 )
[ 55] 0x75578b44 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00625476 ( sysq::addProcessPendingEventsUnitTestHook+000692 )
[ 56] 0x75578bb6 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00625590 ( sysq::addProcessPendingEventsUnitTestHook+000806 )
[ 57] 0x75578c22 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\libmwservices.dll+00625698 ( svWS_ProcessPendingEvents+000018 )
[ 58] 0x00f9f1ce C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00389582 ( DepfunRules::postWarning+027774 )
[ 59] 0x00f9f426 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00390182 ( DepfunRules::postWarning+028374 )
[ 60] 0x00f9f74c C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00390988 ( DepfunRules::postWarning+029180 )
[ 61] 0x00fa09c6 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\mcr.dll+00395718 ( mcr_invoke_on_interpreter_thread+001014 )
[ 62] 0x011794a2 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\MATLAB.exe+00038050 ( ???+000000 )
[ 63] 0x01179baa C:\Program Files (x86)\MATLAB\R2012a\bin\win32\MATLAB.exe+00039850 ( ???+000000 )
[ 64] 0x01179e13 C:\Program Files (x86)\MATLAB\R2012a\bin\win32\MATLAB.exe+00040467 ( ???+000000 )
[ 65] 0x0117a31d C:\Program Files (x86)\MATLAB\R2012a\bin\win32\MATLAB.exe+00041757 ( ???+000000 )
[ 66] 0x7602336a C:\Windows\syswow64\kernel32.dll+00078698 ( BaseThreadInitThunk+000018 )
[ 67] 0x771f9f72 C:\Windows\SysWOW64\ntdll.dll+00237426 ( RtlInitializeExceptionChain+000099 )
[ 68] 0x771f9f45 C:\Windows\SysWOW64\ntdll.dll+00237381 ( RtlInitializeExceptionChain+000054 )
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 this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.

Alexander
Alexander am 10 Feb. 2014
Have you run "mex -setup" from the matlab command line and selected the correct compiler?
I'm afraid, from that stack trace I don't know what the error is. Hopefully someone else can help.
All the best.

Amine Bohi
Amine Bohi am 10 Feb. 2014
yes of course, I used mex -setup to choose the visual studio 2010 compiler comptabile with matlab 2012

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by