Borrar filtros
Borrar filtros

Does mat operation conflict with dynamically DLL use?

1 visualización (últimos 30 días)
JackXu
JackXu el 3 de Abr. de 2017
Editada: JackXu el 3 de Abr. de 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.

Respuestas (0)

Categorías

Más información sobre Call C++ from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by