Combine distributed cells and output from tasks

Hi,
I am working with Matlab parallel server. In my code, after submitting a job, I create a certain amount of tasks, and then I take the results back on my computer by using the function
fetchOutputs()
In this way, I get the results on my client machine. However, is there a way to keep the results stored in a cell variable, but distributed in the cluster? I was reading about distributed.cell, but I am not sure how to use it without loading first the results in the client (I would do something like
result = fetchOutput(job_set);
D = distributed.cell(size(result));
).
Any smarter way of doing this?

1 Comment

Could you elaborate on the next steps you would take with that distributed cell array in the cluster? Did the function in your next question do what you expected?

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Parallel Server in Help Center and File Exchange

Products

Release

R2021a

Asked:

on 28 Oct 2021

Edited:

on 21 Dec 2022

Community Treasure Hunt

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

Start Hunting!