Borrar filtros
Borrar filtros

how to use boost library 1.55.0 to create a shared memory using a matlab application

1 visualización (últimos 30 días)
Hi, I'm trying to use boost library 1.55.0 to create a shared memory. I have an example.cpp file in which am creating a shared memory,but when I mex the file and try to debug it ,it's throwing an exception "MATLAB.exe has triggered a breakpoint" .Mex is successful here, but unable to create the boost shared memory because of the crash

Respuestas (1)

Walter Roberson
Walter Roberson el 18 de Oct. de 2018
Check out https://www.mathworks.com/matlabcentral/fileexchange/28572-sharedmatrix . The MS Windows version of it uses Boost.
  2 comentarios
DEEPIKA RAVI KRISHNA
DEEPIKA RAVI KRISHNA el 30 de Oct. de 2018
Editada: DEEPIKA RAVI KRISHNA el 30 de Oct. de 2018
I need to create the shared memory for sharing the data between a matlab application and a qt(or visual studio) application.The above suggested solution is for sharing the data between matlab applications right?How to use the specific version of boost library in a matlab application.
Walter Roberson
Walter Roberson el 30 de Oct. de 2018
Would it be acceptable for your purposes to use accessor functions to read and write the memory from within MATLAB, or does the shared memory have to be "first class"? If it does have to be first class then does it need to be able to pass tests such as isdouble() or would it be acceptable to wrap it in a class object?

Iniciar sesión para comentar.

Categorías

Más información sobre Logical 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