Even with a fresh install of Windows 7 x64 and Matlab R2013b, I was getting tbb.dll related errors after compiling M-scripts using Matlab Compiler deploytool. The exe would compile, but upon running it would issue various tbb.dll errors.
This problem happened across multiple PCs. To fix this problem, I followed this process:
- download latest Intel Threaded Building Blocks
- extract to
install Intel TBB by starting Command Prompt with Run As Administrator, then type
cd c:/tbb/tbb*bin tbbvars intel64 all
Then I went back to Matlab
deploytool and recompiled.