Sharing memory with external application in Linux
조회 수: 2 (최근 30일)
이전 댓글 표시
I know how to share memory between two Matlab sessions, per
But how do I share memory between Matlab and an external console application.
In Linux, I use shmget and shmat to share memory between programs, using the following redacted code:
shmid = shmget(key, SharedMemSize, 0666 | IPC_CREAT);
ShMemPtr = shmat(shmid, NULL, 0);|
How can I get Matlab to join in the act. I would like to use it to monitor my data to run a visualization front end.
Thanks
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!