Share PollableDataQueue between Matlab sessions

1 vue (au cours des 30 derniers jours)
Tomasz Wyrowinski
Tomasz Wyrowinski le 15 Sep 2017
I'm trying to send data between two sessions using data queue. Here is how I tried to do that:
  1. First Matlab instance creates PollableDataQueue and saves it in matfile
  2. Second instance reads it and sends data object to the first one
However such approach results in an error when I send a message:
Struct contents reference from a non-struct array object.
Error in parallel.internal.pool.AbstractDataQueue/send (line 135)
if obj.Session.isSessionRunning
Error in QueueManager/send_request (line 33)
request_queue.send(task);
Error in TaskSender/get_latest_max (line 15)
obj.queue_manager.send_request(task);
Is there a way to achieve such communication between Matlab sessions?
  1 commentaire
Tomasz Wyrowinski
Tomasz Wyrowinski le 15 Sep 2017
I also get a warning when loading queue from matfile:
Warning: While loading an object of class 'parallel.pool.PollableDataQueue':
To send and receive messages there must be a pool.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by