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

5 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Weather and Atmospheric Science 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by