Linking C++ with Matlab

3 views (last 30 days)
Vidi
Vidi on 25 Jan 2011
I tried to run engdemo.cpp from matlab R2009b in VS2005. But I got the following error:
Severe:
MATLAB:I18n:MissingICUData - ICU data not found.
The program 'C: .......engdindemo.exe: Native has exited with code 2 (0x2).
I am very confused about the error message.
.
Does anyone have a suggestion to help me fix it?

Answers (1)

Sebastian
Sebastian on 25 Jan 2011
Often error messages like this have to do with either multiple MATLAB installations on the same machine or when copying MATLAB DLLs from the MATLABROOT into project folders. So, if you have multiple MATLAB installations, then make sure that the Windows PATH environment variable contains the MATLAB folder from new to old releases. A useful tool for detecting the DLL dependencies of your program and how they are resolved is the Dependency Walker.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!