Hi Alle Meije,
Try setting up a job with the same structure as this one (also see attached).
matlabbatch{1}.spm.util.defs.comp{1}.dartel.flowfield = {'/.../u_rc1OAS2_0080_MR1_Template.nii'};
matlabbatch{1}.spm.util.defs.comp{1}.dartel.times = [0 1];
matlabbatch{1}.spm.util.defs.comp{1}.dartel.K = 6;
matlabbatch{1}.spm.util.defs.comp{1}.dartel.template = {'/.../Template_6.nii'};
matlabbatch{1}.spm.util.defs.comp{2}.id.space = {'/.../OAS2_0080_MR1.nii'};
matlabbatch{1}.spm.util.defs.out{1}.pull.fnames = {'/.../spm12/tpm/labels_Neuromorphometrics.nii'};
matlabbatch{1}.spm.util.defs.out{1}.pull.savedir.savepwd = 1;
matlabbatch{1}.spm.util.defs.out{1}.pull.interp = 0;
matlabbatch{1}.spm.util.defs.out{1}.pull.mask = 1;
matlabbatch{1}.spm.util.defs.out{1}.pull.fwhm = [0 0 0];
matlabbatch{1}.spm.util.defs.out{1}.pull.prefix = '';
All the best,
-John