I need help in parallel programming in MATLAB. I have a list of filenames; for each file I have to do an independent calculation that returns a table row. All the tableRows should be integrated into one table. The order of the rows has no meaning. How do I process all the files in parallel and insert the rows into one table?
samples=dir('*.txt');
for smpl=samples'
row=processSamples(smpl,prm1,prm2); //should be parallel
table=[table;row];
end
Thanks