Data Dictionary - Setup Worker Cache Issue
8 次查看(过去 30 天)
显示 更早的评论
I tried the code from the matlab example -
spmd
Simulink.data.dictionary.setupWorkerCache
end
However, this generates an error -
Error using run4 (line 16)
Error detected on workers 1 2.
Caused by:
Error using Simulink.data.dictionary.setupWorkerCache (line 23)
Cannot set up worker dictionary cache. Dictionary cache is not in the default location.
Error using Simulink.data.dictionary.setupWorkerCache (line 23)
Cannot set up worker dictionary cache. Dictionary cache is not in the default location.
Any ideas on how to fix this issue? I am using 2016b.
0 个评论
回答(1 个)
Hin Kwan Wong
2020-5-13
Simply restart the parallel pool
Or first do
Simulink.data.dictionary.cleanupWorkerCache;
on each workers.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Parallel Server 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!