[073EN] The implementation of a multithread software in MATLAB – Part 2: Two Way Communication

This content highlights the use of MATLAB’s parallel computing functions to facilitate communications between user processes and worker processes. The text describes how to set up data queues to send messages back and forth, and how to identify which parallel worker is running a specific process. The method involves the use of MATLAB’s parallel.pool.DataQueue and parallel.pool.PollableDataQueue with appropriate callbacks or polling mechanisms. It outlines how to establish a queue, send and receive messages, and identify the processes on each worker. The content also mentions future topics, such as handling large data transfer with memory maps.