Data Dictionary - Setup Worker Cache Issue

2 ビュー (過去 30 日間)
Rajmohan
Rajmohan 2020 年 1 月 24 日
回答済み: Hin Kwan Wong 2020 年 5 月 13 日
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.

回答 (1 件)

Hin Kwan Wong
Hin Kwan Wong 2020 年 5 月 13 日
Simply restart the parallel pool
Or first do
Simulink.data.dictionary.cleanupWorkerCache;
on each workers.

カテゴリ

Help Center および File ExchangeMATLAB Parallel Server についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by