When I run my program, MATLAB crashes with the following stack trace:
Stack Trace (from fault):
[ 0] 00000000771dc4a5 MSVCR100.dll+00246949 ( strcpy+000085 )
[ 1] 000007feeaee775c calc_auto.mexw64+00030556 ( mdlOutputs+003148 )
[ 2] 000007feeaee680c calc_auto.mexw64+00026636 ( mexFunction+003100 )
[ 3] 00000000592b0f83 libmex.dll+00069507 ( mexRunMexFile+000131 )
[ 4] 00000000592afce2 libmex.dll+00064738 ( inSwapMexfileReader+000226 )
[ 5] 0000000074e8c80d m_dispatcher.dll+00051213 ( Mfh_file::dispatch_fh+000509 )
[ 6] 0000000074ee5e8b m_dispatcher.dll+00417419 ( mdAcquireMatlabFunction+002507 )
…
The same program used to work in a previous release of MATLAB. Is this a bug in the new release causing MATLAB to crash?
Best Answer