parfor problems ( add attached files)
Ältere Kommentare anzeigen
My code is too slow, so i tried using 'parfor' like below
parfor i = 1:26
etatl=(i*10)+90;
xil=etatl+3;
for j= 1:20
qso=j*0.00005
qmo = 0.001-qso;
fbt_ % this is my code for calculation
end
end
=============================================
but i still get error, 'UndefinedFunction error in 'etatl' worker.
use addAttachedFiles(pool,files) and attach needed files. check 'parallel.Pool/addAttachedFile'.
=====
i checked 'parallel.Pool/addAttachedFile' but i still don't know how to solve the problem..
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu System Commands finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!