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

조회 수: 11 (최근 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:
fileStream::DetectCharset():frea
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;
d.afterEach(@giveUpdate)
parfor idx = 1:20
A(idx) = rand;
send(d,idx)
end
end
function giveUpdate(varargin)
fprintf("Finished simulation " + varargin{:} + "\n")
end

추가 답변 (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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by