I have a problem in I parallelize my matlab code,

2 次查看(过去 30 天)
Hello everyone
I use the parfor loop to parallelize my code here is the message that is displayed:"The temporary variable val in a parfor is uninitialized."
  4 个评论
PIERRE OLIVIER SCHOUEL ATANGANA
here is the error message:
An UndefinedFunction error was thrown on the workers for 'mex'. This might be because the file containing 'mex' is not
accessible on the workers. Use addAttachedFiles(pool, files) to specify the required files to be attached. See the
documentation for 'parallel.Pool/addAttachedFiles' for more details.
PIERRE OLIVIER SCHOUEL ATANGANA
excuse me as I often respond late. I do not yet understand how the forum looks

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Parallel for-Loops (parfor) 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by