read/save files in parpool batch mode?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a script that will read a csv file with "experiments" to run, selects a "row" if there is no corresponding folder created for this and will at the end of the simulation save results into that folder. Starting instances of matlab and executing this script works as each instance runs "its own" experiment and downloads the file. But when I pass the script to batch (and include necessary files) the folders aren't created. What could be different in batch mode? do I need to tell them what working directory to use? Any help appreciated, new to parpool
0 Kommentare
Antworten (1)
Varun Bhaskar
am 11 Aug. 2015
Hello,
If you want to send files or folders to each of the workers, you can use the 'AttachedFiles' property of the job object created using parpool. You can also send data to each worker using the 'JobData' property of the job object.
Refer to the following link for more information about 'AttachedFiles':
0 Kommentare
Siehe auch
Kategorien
Mehr zu Parallel Computing Fundamentals finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!