Effacer les filtres
Effacer les filtres

Data Dictionary - Setup Worker Cache Issue

2 vues (au cours des 30 derniers jours)
Rajmohan
Rajmohan le 24 Jan 2020
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.

Réponses (1)

Hin Kwan Wong
Hin Kwan Wong le 13 Mai 2020
Simply restart the parallel pool
Or first do
Simulink.data.dictionary.cleanupWorkerCache;
on each workers.

Catégories

En savoir plus sur MATLAB Parallel Server dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by