필터 지우기
필터 지우기

Does mat operation conflict with dynamically DLL use?

조회 수: 1 (최근 30일)
JackXu
JackXu 2017년 4월 3일
편집: JackXu 2017년 4월 3일
Hello everyone,
I testd for one program (A) run my DLL, created by Matlab2015b though C shared library, dynamically without .h file and one other program (B) used some mat operation (eg. matopen, matclose, matGetVariable, matGetData). That two program have some socket transfer and some .mat file transfer, and that run well.
Later I combined my two program successfully, but every time I run the same DLL though same way in my new program it would get wrong data, which created by (A), in (B). I can't figure out why everything goes well when there are two parts, but failed when running together.
Detail: (A), (B) only included "mat.h" and "mclcppclass.h", and I don't think lib will be the reason.
Any advice will be grateful.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by