Azzera filtri
Azzera filtri

Does mat operation conflict with dynamically DLL use?

1 visualizzazione (ultimi 30 giorni)
JackXu
JackXu il 3 Apr 2017
Modificato: JackXu il 3 Apr 2017
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.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by