What does it mean: fileStream​::DetectCh​arset():fr​ea ?

5 ビュー (過去 30 日間)
Zhixin Wang
Zhixin Wang 2021 年 12 月 30 日
コメント済み: Zhixin Wang 2022 年 1 月 3 日
Hi, I'm using MATLAB Parallel Computing Toolbox to run a rather complicated project and I'm using parprogress to monitor the progress of the script. However, I see the following output and I don't understand the meaning of it:
Does anyone know? Thanks!


Raymond Norris
Raymond Norris 2022 年 1 月 3 日
Here's a trivial example. Look at the documentation for more information.
function zw
d = parallel.pool.DataQueue;
parfor idx = 1:20
A(idx) = rand;
function giveUpdate(varargin)
fprintf("Finished simulation " + varargin{:} + "\n")
  1 件のコメント
Zhixin Wang
Zhixin Wang 2022 年 1 月 3 日
Thank you very much!


その他の回答 (1 件)

Raymond Norris
Raymond Norris 2021 年 12 月 30 日
Can't answer this for you, but you might consider looking at DataQueues https://www.mathworks.com/help/parallel-computing/parallel.pool.dataqueue.html so another solution.
  1 件のコメント
Zhixin Wang
Zhixin Wang 2022 年 1 月 2 日
Thank you. Not sure if I understood you correctly, are you suggesting another solution to monitor the progress of parfor?


Community Treasure Hunt

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

Start Hunting!

Translated by