How to read the data from the shared file created by CreateFileMapping() (C++) with Matlab (memmapfile) ?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
Réponses (0)
Voir également
Catégories
En savoir plus sur Call C++ from MATLAB dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!