MATLAB: MATLAB Internal error while using ‘decic’ function

daedecic functioninternal errorode15i

Hi there! I am trying to solve a DAE system having 15 variables and eqns. While computing consistent initial conditions for ode15i using decic function, matlab shows this error message "MATLAB has encountered an internal error and needs to close." I have successfully used decic function before, but with lesser number of eqns and variables. I have included a part of my code. The error shows up when the last line containing the decic function is executed.
if true
f = daeFunction(eqns,vars,g,m,a,b,tau,Ia,Ib);
m = 1;
g = 9.81;
a = 2;
b = 1;
Ia = 0.4;
Ib = 1;
tau = 0.5;
assume(Xpc(t)<0 & Zpc(t)<0);
assumptions
F = @(t,Y,YP) f(t,Y,YP,g,m,a,b,tau,Ia,Ib);
y0est = [0;1.5533;0;0;0;0;0;0;0;2;0;0;0;0;0];
yp0est = zeros(15,1);
[y0, yp0,resnrm] = decic(F,0,y0est,[0,1,0,0,0,0,0,0,0,1,0,0,0,0,0],yp0est,[]);
end
I'm also including the matlab crash dump file:
if true
MATLAB crash file:C:\Users\user\AppData\Local\Temp\matlab_crash_dump.1376-1:
------------------------------------------------------------------------
Illegal instruction detected at Fri Sep 29 21:36:11 2017
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Current Graphics Driver: Unknown hardware
Default Encoding : windows-1252
Graphics card 1 : Advanced Micro Devices, Inc. ( 0x1002 ) AMD Radeon(TM) R5
Graphics Version 15.201.1101.0
Host Name : DESKTOP-0BAD34S
MATLAB Architecture : win64
MATLAB Root : C:\Program Files\MATLAB\MATLAB Production Server\R2015a
MATLAB Version : 8.5.0.197613 (R2015a)
OpenGL : hardware
Operating System : Microsoft Windows 10 Home Single Language
Processor ID : x86 Family 127 Model 48 Stepping 1, AuthenticAMD
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM)
64-Bit Server VM mixed mode
Window System : Version 10.0 (Build 14393)
Fault Count: 1
Abnormal termination:
Illegal instruction
Register State (from fault):
RAX = 00000000d88d5000 RBX = 00000000d88d6000
RCX = 00000000043e5f60 RDX = 000000000a79c520
RSP = 00000000043e5d70 RBP = 00000000043e6ec0
RSI = 00000000043e6ec8 RDI = 00000000043e6ec0
R8 = 0000000000000200 R9 = 00000000d88d6000
R10 = 0000000000000168 R11 = 0000000000000078
R12 = 0000000000000010 R13 = 000000000000000c
R14 = 000000000000000c R15 = 0000000000000010
RIP = 000000001c87a342 EFL = 00010216
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x000000001c87a342 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mkl.dll+26387266 xerbla+23942290
[ 1] 0x000000001bdf39ea C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mkl.dll+15350250 xerbla+12905274
[ 2] 0x000000001bde1ec1 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mkl.dll+15277761 xerbla+12832785
[ 3] 0x000000001b03ea25 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mkl.dll+00977445 mkl_cbwr_set+00606693
[ 4] 0x000000001b03b35c C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mkl.dll+00963420 mkl_cbwr_set+00592668
[ 5] 0x000000001af69369 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mkl.dll+00103273 dgemm+00000377
[ 6] 0x00000000ee23df99 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwmathlinalg.dll+00647065 UMFPACK_RealLUFactor::whackSymbolic+00119225
[ 7] 0x00000000ee23e68e C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwmathlinalg.dll+00648846 mfMatrixMult+00000110
[ 8] 0x00000000ee23fb73 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwmathlinalg.dll+00654195 mfMatrixMult+00005459
[ 9] 0x00000000ee23f951 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwmathlinalg.dll+00653649 mfMatrixMult+00004913
[ 10] 0x00000000ee23fe0a C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwmathlinalg.dll+00654858 mfMatrixMult+00006122
[ 11] 0x0000000004412f5e C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00077662 mdLogging::log_function_exit+00000110
[ 12] 0x000000000441295c C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00076124 Mfunction_handle::dispatch+00000476
[ 13] 0x0000000010e8ce2c C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00642604 inPublishWSEvents+00010700
[ 14] 0x0000000010e1bda6 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00179622 in_is_matlab_function+00124246
[ 15] 0x0000000010e4bbea C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00375786 inGetCurrentWS+00147450
[ 16] 0x0000000010e0f19c C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00127388 in_is_matlab_function+00072012
[ 17] 0x0000000010e09f95 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00106389 in_is_matlab_function+00051013
[ 18] 0x0000000010ed684f C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00944207 MathWorks::MException::MExceptionEnvelope::MCOSClassID+00000991
[ 19] 0x0000000010ed67b1 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00944049 MathWorks::MException::MExceptionEnvelope::MCOSClassID+00000833
[ 20] 0x0000000010e4da75 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00383605 inGetCurrentWS+00155269
[ 21] 0x0000000010e4ce8c C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00380556 inGetCurrentWS+00152220
[ 22] 0x0000000010e4b6e9 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00374505 inGetCurrentWS+00146169
[ 23] 0x0000000004412694 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00075412 Mfh_file::dispatch_fh+00000548
[ 24] 0x0000000004412a7e C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00076414 Mfunction_handle::dispatch+00000766
[ 25] 0x0000000010e09597 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00103831 in_is_matlab_function+00048455
[ 26] 0x0000000010e0a1ab C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00106923 in_is_matlab_function+00051547
[ 27] 0x0000000010ed684f C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00944207 MathWorks::MException::MExceptionEnvelope::MCOSClassID+00000991
[ 28] 0x0000000010ed67b1 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00944049 MathWorks::MException::MExceptionEnvelope::MCOSClassID+00000833
[ 29] 0x0000000010e4da75 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00383605 inGetCurrentWS+00155269
[ 30] 0x0000000010e4ce8c C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00380556 inGetCurrentWS+00152220
[ 31] 0x0000000010e4b6e9 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00374505 inGetCurrentWS+00146169
[ 32] 0x0000000004412694 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00075412 Mfh_file::dispatch_fh+00000548
[ 33] 0x0000000004412a7e C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00076414 Mfunction_handle::dispatch+00000766
[ 34] 0x0000000010e09597 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00103831 in_is_matlab_function+00048455
[ 35] 0x0000000010e0a1ab C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00106923 in_is_matlab_function+00051547
[ 36] 0x0000000010ed684f C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00944207 MathWorks::MException::MExceptionEnvelope::MCOSClassID+00000991
[ 37] 0x0000000010ed67b1 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00944049 MathWorks::MException::MExceptionEnvelope::MCOSClassID+00000833
[ 38] 0x0000000010e4da75 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00383605 inGetCurrentWS+00155269
[ 39] 0x0000000010e4ce8c C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00380556 inGetCurrentWS+00152220
[ 40] 0x0000000010e4b6e9 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00374505 inGetCurrentWS+00146169
[ 41] 0x0000000004412694 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00075412 Mfh_file::dispatch_fh+00000548
[ 42] 0x0000000004412a7e C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00076414 Mfunction_handle::dispatch+00000766
[ 43] 0x0000000010e46ca6 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00355494 inGetCurrentWS+00127158
[ 44] 0x0000000010e46414 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00353300 inGetCurrentWS+00124964
[ 45] 0x0000000010e4c64c C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00378444 inGetCurrentWS+00150108
[ 46] 0x0000000010e4bcd5 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00376021 inGetCurrentWS+00147685
[ 47] 0x0000000010e0f19c C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00127388 in_is_matlab_function+00072012
[ 48] 0x0000000010e09f95 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00106389 in_is_matlab_function+00051013
[ 49] 0x0000000010ed684f C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00944207 MathWorks::MException::MExceptionEnvelope::MCOSClassID+00000991
[ 50] 0x0000000010ed67b1 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00944049 MathWorks::MException::MExceptionEnvelope::MCOSClassID+00000833
[ 51] 0x0000000010e4da75 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00383605 inGetCurrentWS+00155269
[ 52] 0x0000000010e4ce8c C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00380556 inGetCurrentWS+00152220
[ 53] 0x0000000010e4b6e9 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00374505 inGetCurrentWS+00146169
[ 54] 0x0000000004412694 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00075412 Mfh_file::dispatch_fh+00000548
[ 55] 0x0000000004412a7e C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00076414 Mfunction_handle::dispatch+00000766
[ 56] 0x0000000010e09597 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00103831 in_is_matlab_function+00048455
[ 57] 0x0000000010f231a7 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+01257895 inIsKeyword+00027799
[ 58] 0x0000000010e0b69a C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00112282 in_is_matlab_function+00056906
[ 59] 0x0000000010ed684f C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00944207 MathWorks::MException::MExceptionEnvelope::MCOSClassID+00000991
[ 60] 0x0000000010ed67b1 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00944049 MathWorks::MException::MExceptionEnvelope::MCOSClassID+00000833
[ 61] 0x0000000010e4da75 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00383605 inGetCurrentWS+00155269
[ 62] 0x0000000010e4ce8c C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00380556 inGetCurrentWS+00152220
[ 63] 0x0000000010e4b6e9 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00374505 inGetCurrentWS+00146169
[ 64] 0x0000000004412757 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00075607 Mfh_file::dispatch_fh+00000743
[ 65] 0x0000000004412a7e C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00076414 Mfunction_handle::dispatch+00000766
[ 66] 0x0000000010e09597 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00103831 in_is_matlab_function+00048455
[ 67] 0x0000000010f231a7 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+01257895 inIsKeyword+00027799
[ 68] 0x0000000010e0b69a C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00112282 in_is_matlab_function+00056906
[ 69] 0x0000000010ed684f C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00944207 MathWorks::MException::MExceptionEnvelope::MCOSClassID+00000991
[ 70] 0x0000000010ed67b1 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00944049 MathWorks::MException::MExceptionEnvelope::MCOSClassID+00000833
[ 71] 0x0000000010e4da75 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00383605 inGetCurrentWS+00155269
[ 72] 0x0000000010e4ce8c C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00380556 inGetCurrentWS+00152220
[ 73] 0x0000000010e4b6e9 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00374505 inGetCurrentWS+00146169
[ 74] 0x0000000004412757 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00075607 Mfh_file::dispatch_fh+00000743
[ 75] 0x0000000004412a7e C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_dispatcher.dll+00076414 Mfunction_handle::dispatch+00000766
[ 76] 0x0000000010edb268 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00963176 inAnonymousFunction+00000360
[ 77] 0x0000000010edb864 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00964708 inAnonymousFunction+00001892
[ 78] 0x0000000010edba25 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00965157 inAnonymousFunction+00002341
[ 79] 0x0000000010edb9f2 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00965106 inAnonymousFunction+00002290
[ 80] 0x0000000010edb9a7 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00965031 inAnonymousFunction+00002215
[ 81] 0x0000000010e8f6bd C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00652989 inGetCallersWorkSpace+00001805
[ 82] 0x0000000010e8854d C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00623949 inEvalCmdWithLocalReturn+00000285
[ 83] 0x0000000010e88471 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\m_interpreter.dll+00623729 inEvalCmdWithLocalReturn+00000065
[ 84] 0x00000000fb5fe82d C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwbridge.dll+00059437 mnGetPrompt+00002717
[ 85] 0x00000000fb5ff2a9 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwbridge.dll+00062121 mnParser+00000745
[ 86] 0x00000000fd0e13d4 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mcr.dll+00398292 mcrInstance::mnParser_on_interpreter_thread+00000036
[ 87] 0x00000000fd0a9757 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mcr.dll+00169815 mcr::runtime::setInterpreterThreadToCurrent+00019751
[ 88] 0x00000000fd0a9793 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mcr.dll+00169875 mcr::runtime::setInterpreterThreadToCurrent+00019811
[ 89] 0x00000000fd0a9f91 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mcr.dll+00171921 mcr::runtime::setInterpreterThreadToCurrent+00021857
[ 90] 0x00000000fab5d216 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\uiw.dll+00512534 UIW_AttachThreadInput+00001270
[ 91] 0x00000000fab5caa5 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\uiw.dll+00510629 wsd_to_MSW+00004373
[ 92] 0x00000000fab5cb29 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\uiw.dll+00510761 wsd_to_MSW+00004505
[ 93] 0x00007ff903f828cf C:\WINDOWS\System32\USER32.dll+00207055 EmptyClipboard+00000751
[ 94] 0x00007ff903f6f339 C:\WINDOWS\System32\USER32.dll+00127801 GetPropW+00000697
[ 95] 0x00007ff903f6f2b6 C:\WINDOWS\System32\USER32.dll+00127670 GetPropW+00000566
[ 96] 0x00007ff904179c24 C:\WINDOWS\SYSTEM32\ntdll.dll+00695332 KiUserCallbackDispatcher+00000036
[ 97] 0x00007ff9013d10c4 C:\WINDOWS\System32\win32u.dll+00004292 NtUserPeekMessage+00000020
[ 98] 0x00007ff903f6e5bd C:\WINDOWS\System32\USER32.dll+00124349 PeekMessageW+00000397
[ 99] 0x00007ff903f6e3a3 C:\WINDOWS\System32\USER32.dll+00123811 PeekMessageA+00000163
[100] 0x00000000fab09bdb C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\uiw.dll+00170971 UIW_ShowMenuItem+00005179
[101] 0x00000000fab5db52 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\uiw.dll+00514898 UIW_SuspendAttachThreadInput+00000466
[102] 0x0000000010742c83 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwservices.dll+01256579 services::system_events::PpeDispatchHook::dispatchOne+00032291
[103] 0x000000001074e6f5 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwservices.dll+01304309 sysq::addProcessPendingEventsUnitTestHook+00005813
[104] 0x000000001074e7a0 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwservices.dll+01304480 sysq::addProcessPendingEventsUnitTestHook+00005984
[105] 0x0000000010750595 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwservices.dll+01312149 sysq::getCondition+00004629
[106] 0x0000000010751f52 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwservices.dll+01318738 svWS_ProcessPendingEvents+00000162
[107] 0x00000000fd0aa6ad C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mcr.dll+00173741 mcr::runtime::setInterpreterThreadToCurrent+00023677
[108] 0x00000000fd0ab31a C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mcr.dll+00176922 mcr::runtime::setInterpreterThreadToCurrent+00026858
[109] 0x00000000fd0a2f75 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mcr.dll+00143221 mcr_process_events+00007557
[110] 0x00000000fd0a4882 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mcr.dll+00149634 mcr_process_events+00013970
[111] 0x000000001597b49d C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\MVMLocal.dll+00177309 mvm_server::inproc::LocalFactory::terminate+00048141
[112] 0x00000000fa8fa27a C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mvm.dll+00828026 mvm::detail::initLocalMvmHack+00000490
[113] 0x00000000fa8fa838 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mvm.dll+00829496 mvm::detail::SessionImpl::privateSession+00000376
[114] 0x00000000fa8faa88 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mvm.dll+00830088 mvm::detail::SessionImpl::privateSession+00000968
[115] 0x000000014000630d C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\MATLAB.exe+00025357
[116] 0x0000000140007dd0 C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\MATLAB.exe+00032208
[117] 0x00007ff901668364 C:\WINDOWS\System32\KERNEL32.DLL+00033636 BaseThreadInitThunk+00000020
[118] 0x00007ff904137091 C:\WINDOWS\SYSTEM32\ntdll.dll+00422033 RtlUserThreadStart+00000033
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.
end

Best Answer

I reinstalled MATLAB, and it worked.But now I'm facing a new error.At least it's not crashing anymore.
Related Question