I am using LOADLIBRARY to load a library on SPMD workers.
matlabpool open local 4 spmd loadlibrary('testDLL2') end
When I execute this code on my MATLAB I receive the following error:
Lab 1: Warning: File not found or permission denied > In loadlibrary>deltempfiles at 636 In loadlibrary at 436 In remoteBlockExecution at 47 ??? Error using ==> spmd_feval at 8 Error detected on lab(s) 1 Caused by: Failed to preprocess the input file. Output from preprocessor is:The process cannot access the file because it is being used by another process. Error stack: loadlibrary.m at 441
Best Answer