How can i communicate the shared memory with the parallel computing toolbox?
조회 수: 2 (최근 30일)
이전 댓글 표시
I am new to this shared memory concepts. I am not that much familiar with PCT also. kindly Give answers. two functions named Function send and function answer both are sharing the data between them but the problem is both are executed by opening the files in separate command window.Refer to this link i have obtained the shared memory concepts. https://in.mathworks.com/help/matlab/import_export/share-memory-between-applications.html
So that i thought to communicate both files in parpool.How to communicate between the two mfiles using parallel computing toolbox which is already sharing data between them?
댓글 수: 4
Walter Roberson
2018년 3월 12일
You should change
spmd
to
spmd(poolsize)
I am not sure why your first_run flag is there?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Asynchronous Parallel Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!