Dear Kyongsik,
This is not the way you are supposed to work with SPM M/EEG dataset. Try:
D = spm_eeg_load;
data = D(: , : ,:);
Best,
Vladimir
On Sun, Jun 14, 2009 at 7:01 AM, Kyongsik Yun<[log in to unmask]> wrote:
> Dear SPM EEG users,
> I tried to access channel data by loading 'cdme.mat' and typing
> 'D.data.y(:,:,:)'.
> Then matlab displays the following errors.
> ??? Cant open file.
>
> Error in ==> file_array.subsref>multifile2mat at 156
> val(cc(i)+1:cc(i+1)) = file2mat(obj,int32(1),int32(x(y==i)));
>
> Error in ==> file_array.subsref>subfun at 87
> t = multifile2mat(sobj,varargin{:});
>
> Error in ==> file_array.subsref at 60
> t = subfun(sobj,args{:});
>
> How can I fix this?
> Is there any other way to access data from 'file_array' object?
> Thank you.
> Sincerely,
> Kyongsik
>
> --
> _________________________________________________
> Kyongsik Yun
> Ph.D. Candidate
> --------------------------------------------------------------------
> Brain Dynamics Laboratory
> Department of Bio and Brain Engineering
> Korea Advanced Institute of Science & Technology (KAIST)
> Daejeon, 305-701 South Korea
> Office: +82-42-350-4359 Mobile: 016-726-9409
> Fax: +82-42-350-4310 Email: [log in to unmask]
> _________________________________________________
>
|