Linking C++ with Matlab

3 vues (au cours des 30 derniers jours)
Vidi
Vidi le 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?

Réponses (1)

Sebastian
Sebastian le 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.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by