Linking C++ with Matlab

2 visualizzazioni (ultimi 30 giorni)
Vidi
Vidi il 25 Gen 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?

Risposte (1)

Sebastian
Sebastian il 25 Gen 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.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by