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 Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by