필터 지우기
필터 지우기

How to read data from a Memory Mapped Object created in C++ program

조회 수: 4 (최근 30일)
Ajay Kumar P
Ajay Kumar P 2015년 5월 14일
편집: Ajay Kumar P 2015년 5월 14일
A memory map object has been created using CreateFileMapping function in a C++ program, the name of the memory map object is '("Local\\MyFirstFileMappingObject")'. Some data of 256 bytes is written by the C++ program using CopyMemory function. Now I want to read/use the data written by the C++ program using memory map object in my Simulink models or in the Matlab base workspace. Example: Lets say a string "Some data string" is written by C++ program In my Matlab program How to read the data "Some data string" ?
Note: This can be fixed by using a file but I am interested in knowing about reading/writing data using memory map objects.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by