필터 지우기
필터 지우기

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 CenterFile Exchange에서 MATLAB Parallel Server에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by