How to read the data from the shared file created by CreateFileMapping() (C++) with Matlab (memmapfile) ?

5 visualizaciones (últimos 30 días)
Dear All,
My application includes two apps (one is MATLAB app, another is C++). I want they to interact through a common file ("Commonfile") made by CreateFileMapping(C++) and memmapfile(MATLAB). However, as I read in thread: http://www.mathworks.com/matlabcentral/answers/102528-is-it-possible-to-access-a-memory-mapped-file-in-a-c++-program-to-the-page-file-from-matlab
C++ creates a file on filepage, MATLAB creates a saved disk file, therefore, they could not communicate. Could anyone help me on this? or please give me some hints to connect two apps. Thank you so much.

Respuestas (0)

Categorías

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

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by