how to use boost library 1.55.0 to create a shared memory using a matlab application
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, I'm trying to use boost library 1.55.0 to create a shared memory. I have an example.cpp file in which am creating a shared memory,but when I mex the file and try to debug it ,it's throwing an exception "MATLAB.exe has triggered a breakpoint" .Mex is successful here, but unable to create the boost shared memory because of the crash
댓글 수: 0
답변 (1개)
Walter Roberson
2018년 10월 18일
Check out https://www.mathworks.com/matlabcentral/fileexchange/28572-sharedmatrix . The MS Windows version of it uses Boost.
댓글 수: 2
Walter Roberson
2018년 10월 30일
Would it be acceptable for your purposes to use accessor functions to read and write the memory from within MATLAB, or does the shared memory have to be "first class"? If it does have to be first class then does it need to be able to pass tests such as isdouble() or would it be acceptable to wrap it in a class object?
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!