Print

Print


Looks like my attached file was blocked, so below shows the structure and contents of the sess_1.mat file I am currently loading into the 'Multiple Conditions' section of the batch.

>> sess

sess =

        names: {'own_dog'  'other_dog'  'own_child'  'other_child'}
       onsets: {[48 80]  [18 176]  [112 142]  [208 242]}
    durations: {[16]  [16]  [16]  [16]}

On Mon, Mar 7, 2011 at 3:02 PM, Luke Stoeckel <[log in to unmask]> wrote:
Hi all,

I have made the switch from SPM5 to SPM8. I am attempting to use the SPM8 batch interface and have run into a problem with the 'fMRI model specification' module.

See the error below. It indicates my 'file must contain names, onsets, and durations cell arrays of equal length', but as you will see from my attached file, it looks like the dimensions are fine. Thoughts?

-----------------------------------------
Running job #1
-----------------------------------------------------------------------
Running 'Named Directory Selector'
Done    'Named Directory Selector'
Running 'Change Directory'
Change Directory: New working directory

     /autofs/space/blob_001/users/luke/dog_bond/dog1/

Done    'Change Directory'
Running 'Make Directory'
Done    'Make Directory'
Running 'fMRI model specification'
Changing directory to: /autofs/space/blob_001/users/luke/dog_bond/dog1/Stats
Failed  'fMRI model specification'
Error using ==> spm_run_fmri_spec at 135
Multiple conditions MAT-file '/autofs/space/blob_001/users/luke/dog_bond/sess_1.mat' is invalid.
File must contain names, onsets, and durations cell arrays of equal length.

In file "/autofs/space/lyon_009/pubsw/common/spm/spm8/config/spm_run_fmri_spec.m" (v2948), function "spm_run_fmri_spec" at line 135.

No executable modules, but still unresolved dependencies or incomplete module inputs.
The following modules did not run:
Failed: fMRI model specification
Skipped: Model estimation
Skipped: Contrast Manager
Skipped: Results Report


--
Luke E. Stoeckel



--
Luke E. Stoeckel