Dear Brain Research,
the help text of the "multiple conditions" entry in the "fMRI model
specification" module says:
> This *.mat file must include the following cell arrays (each 1 x n):
> names, onsets and durations. eg. names=cell(1,5), onsets=cell(1,5),
> durations=cell(1,5), then names{2}=''SSent-DSpeak'', onsets{2}=[3 5 19
> 222], durations{2}=[0 0 0 0], contain the required details of the second
> condition. These cell arrays may be made available by your stimulus
> delivery program, eg. COGENT. The duration vectors can contain a single
> entry if the durations are identical for all events.
Ideally you would write a script that would read all the relevant
information from the Excel file (using xlsread()) and write a *.mat file
containing the variables described above.
Maybe send us an example of one of your Excel files so that we can help
you get started.
Best regards,
Guillaume.
On 10/12/15 13:42, Brain Research wrote:
> Hello everyone,
>
> I am the new user of SPM toolbox. Currently I am doing a first level analysis. For that purpose I would like to create a mat file from excel sheet, which contains the information about onsets etc..
>
> How I can do this??
>
> Please Help!!
>
> Best regards!!
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|