How to use a mex compiled .mexw64 function in a parfor loop
Ältere Kommentare anzeigen
When I use a mex compiled dll file with the suffix of mexw64 in a parfor loop, the error occurs which says that Undefined function 'Ctfrspwv' for input arguments of type 'double'. 'Ctfrs[wv.mexw64' is my compiled dll function. However, if I change parfor to for coommand, then this error message will not occur. What is the reason? Thank you very much!
Antworten (1)
Edric Ellis
am 19 Dez. 2013
0 Stimmen
Which cluster type are you using? If you're not using the 'local' cluster, then you might need to send the MEX file to the workers using addAttachedFiles.
1 Kommentar
Li Yandong
am 20 Dez. 2013
Kategorien
Mehr zu Parallel for-Loops (parfor) finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!