Dear Anca,
can you be more specific about how this is not working for you? Does the call to spm_jobman return an error, does the job operate on wrong data or do you get warning/error messages during DICOM conversion?
The f_list you create looks fine, also the assignment to the inputs cell array. Just to make sure, you may want to check the inputs array to verify that each input is a cellstr list of filenames. Your job should have an "<-X" mark for the input files, and it should be replicated in your script nrun times (this replication code will be generated automatically if you use "Save Batch and Script" in the batch GUI).
Best,
Volkmar
|