MATLAB: Errors in making standalone program using matlab 2013b

bugcompilerMATLAB Compilerstandalonestandalone executabletbb.dll

Hi,
I was using matlab 2013b and Matlab Compiler Runtime 2013b to make a standalone program. Matlab can successfully generate an executable but when I run it I got "The procedure entry point ?deallocate_via_handler_v3@internal@tbb@@YAXPAX@Z could not be located in the dynamic link library tbb.dll." I tried different codes and got the same error. Any thoughts on the tbb.dll error?
My operating system is Windows 7 professional. I tried both 32 bit and 64 bit matlab and MCR but none of them worked out.
Thanks in advance, Yubo

Best Answer

Hi Yubo, I encountered the same problem as you described. Yust copy the tbb.dll (C:\Program Files\MATLAB\R2013b\bin\win64\tbb.dll) to the folder where your executable is and the problem is solved.
Kind regards,
Peter