The problem seems to be not in the batch but in your MEG data (or was
it EEG?). There are no valid fiducials in that dataset. Could you
perform source reconstruction using the GUI? I'd be surprised if you
could. So we need to focus on how to get fiducials into your dataset
and for that you need to tell me more about where that data comes
2011/5/15 飞鸟 <[log in to unmask]>:
> Dear Vladimir,
> I tried again with the latest version of spm8(4029), the previous problem(
> template=1) disappeared. But this time, I confronted a new problem. It
> reminded me "No executable modules, but still unresolved dependencies or
> incomplete module inputs." But I don't know where the problems are. Could
> you help me see my reconstruction_batch.mat and give me some advice ? Thanks
> a lot.
> These code appears in the matlab command window when I ran the batch:
> SPM8: spm_eeg_inv_mesh_ui (v4027) 11:09:13 - 15/05/2011
> template: 0
> sMRI: 'D:\Processed\DP01\sKEYAN-0002-00000-000001-01.img,1'
> def: 'D:\Processed\DP01\y_sKEYAN-0002-00000-000001-01.nii'
> Affine: [4x4 double]
> Msize: 2
> tess_mni: [1x1 struct]
> fid: [1x1 struct]
> Failed 'M/EEG head model specification'
> Reference to non-existent field 'fid'.
> In file "C:\Program Files\MATLAB\spm8new\config\spm_cfg_eeg_inv_headmodel.m"
> (v4118), function "specify_headmodel" at line 209.
> No executable modules, but still unresolved dependencies or incomplete
> module inputs.
> The following modules did not run:
> Failed: M/EEG head model specification
> Skipped: M/EEG source inversion
> Skipped: M/EEG inversion results
> At 2011-05-13 22:06:06，"Vladimir Litvak" <[log in to unmask]
>>I tried and everything works fine for me. Make sure your SPM version
>>is up to date and if you can't make it work, send me your saved batch
>>and I'll take another look.
>>2011/5/10 飞鸟 <[log in to unmask]>:
>>> Dear SPM's users,
>>> Have you ever used batch interface to do 3D source reconstruction for
>>> EEG/MEG data? I choosed three separate modules "M/EEG head model
>>> specification" "M/EEG source inversion" and "M/EEG inversion results" so as
>>> to reconstruct the sources. In the "M/EEG head model specification" module,
>>> I specified ''Meshes<Meshes source<individual structual image'' and then
>>> selected a mri file named "sDP74-0003-00000-000001-01.img,1". When all was
>>> ready and then I ran the batch, however, I found that it din't excuted the
>>> specified structual image ( as you can see below 'template=1') and the
>>> matlab command window appeared those:
>>> SPM8: spm_eeg_inv_mesh_ui (v3731) 21:39:06 - 09/05/2011
>>> template: 1
>>> Affine: [4x4 double]
>>> sMRI: 'C:\Program
>>> Msize: 2
>>> tess_mni: [1x1 struct]
>>> tess_ctx: 'C:\Program
>>> tess_scalp: 'C:\Program
>>> tess_oskull: 'C:\Program
>>> tess_iskull: 'C:\Program
>>> fid: [1x1 struct]
>>> I didn't understand why. Anyone who knows the reason ? Thanks very much
>>> for any help !
>>> Haoran LI (MS)
>>> Brain Imaging Lab,
>>> Research Center for Learning Science,
>>> Southeast University
>>> 2 Si Pai Lou , Nanjing, 210096, P.R.China