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

6 ビュー (過去 30 日間)
Hienbn
Hienbn 2014 年 5 月 5 日
コメント済み: Hienbn 2014 年 5 月 5 日
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 Center および File ExchangeCall C++ from MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by