Like spm_create_vol

spm_write_vol

spm_close_vol

spm_write_plane

etc. You can easily find them in the source code.

 

Good luck!

Ze

-----Original Message-----
From: LeiNa Hua [mailto:[log in to unmask]]
Sent:
Sunday, October 09, 2005 6:29 PM
To: Ze Wang
Cc: [log in to unmask]
Subject: Re: [SPM] how to read 4D data to memory using SPM sub-procedure ?

 

 Hi, Ze:

  thanks for your reply.

  In SPM, Are there other sub_procedure that do data I/O funciton. I want to learn more about spm I/O sub procedure, can you give me some cues ?

 

 Thanks in advance.

 

 sincerely yours

 LeiNa

 

 

 

On 10/9/05, Ze Wang <[log in to unmask]> wrote:

v=spm_vol(files);
data=spm_read_vols(v);

Quoting LeiNa Hua < [log in to unmask]>:

> Hi SPMer:
>  Can someone tell me SPM2 how to read a series 3D fMRI data to memory and
> which sub-procedure can do this ?
>   I want to utilize some SPM sub-procedure to read the data to memory,then I
> can use other tool to analysis it.
>
> Thanks in advance.
>
> Looking forward to your response.
>
> Sincerely yours
> LeiNa
>


--
Center for functional neuroimaging,
Medicine School,
University of Pennsylvania,
3400 Spruce Street,
3W Gates Building,
Philadelphia,
PA 19104, USA
tel:215-662-7341