Linking C++ with Matlab

조회 수: 3 (최근 30일)
Vidi
Vidi 2011년 1월 25일
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?

답변 (1개)

Sebastian
Sebastian 2011년 1월 25일
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.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by