How to read the data from the shared file created by CreateFileMapping() (C++) with Matlab (memmapfile) ?
5 views (last 30 days)
Show older comments
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.
Answers (0)
See Also
Categories
Find more on Weather and Atmospheric Science in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!