天天看點

spm for eeg matlab,在matlab平台上使用spm5轉換MEG檔案出現如下錯誤代碼。

在matlab平台上使用spm5轉換MEG檔案出現如下錯誤代碼。不知道何解,求各位大蝦幫忙

選擇 ctf275_setup.mat

CTF_READ_RES4 [v  253 ]

Warning: This function is designed to read MEG41RS format.

It may not read "MEG42RS" format correctly

> In C:MATLAB6p5spm5ctf_read_res4.m at line 109

In C:MATLAB6p5spm5ctf_read.m at line 109

In C:MATLAB6p5spm5spm_eeg_rdata_CTF275.m at line 29

In C:MATLAB6p5spm5spm_eeg_converteeg2mat.m at line 106

...data format       : MEG42RS

...date collected    : 07/10/2008

...time collected    : 12:36:49

...run name          :

...run title         : Epilepsy

...subject           : HEALTH02ZHANGJING

...run description   : 2-minute spontaneous data collection.

Collect 15 runs, for a total of 30 minutes of data.

...operator          : WU

...number of channels: 327

...number of samples : 36000 per trial

...sample rate       : 300 samples/sec

...number of trials  : 1 trials (average of 0)

...duration          : 120 sec total

...duration          : 120 sec / trial

...pretrigger points : 0 samples

...pretrigger msec   : 0 msec

...sensor file name  :

...head zeroing      : no

...number of filters : 1

-Filter #         1

-Frequency:         75 Hz

-Class:         1

-Type:         1

...done (  4.92 sec)

CTF_READ_MEG4 [v  253 ]

CTF_CHANNEL_SELECT [v  1.9 ]

...selecting all channels

...reading    1 of    1 trials

...sorting 327 from 327 sensors

...done (  7.42 sec)

I =

1

??? Index exceeds matrix dimensions.

Error in ==> C:MATLAB6p5spm5spm_eeg_rdata_CTF275.m

On line 55  ==> PP2=squeeze(pre_data.data(:,I(2)));

Error in ==> C:MATLAB6p5spm5spm_eeg_converteeg2mat.m

On line 106  ==>                         D{i} = spm_eeg_rdata_CTF275(S2);

??? Error while evaluating uicontrol Callback.

>>

選擇3d_ctf.mat

CTF_READ_RES4 [v  253 ]

Warning: This function is designed to read MEG41RS format.

It may not read "MEG42RS" format correctly

> In C:MATLAB6p5spm5ctf_read_res4.m at line 109

In C:MATLAB6p5spm5ctf_read.m at line 109

In C:MATLAB6p5spm5spm_eeg_rdata_CTF275.m at line 29

In C:MATLAB6p5spm5spm_eeg_converteeg2mat.m at line 106

In C:MATLAB6p5spm5spm.m at line 1142

In C:MATLAB6p5spm5spm_figure.m at line 257

In C:MATLAB6p5spm5spm.m at line 1753

In C:MATLAB6p5spm5spm_eeg_converteeg2mat.m at line 34

...data format       : MEG42RS

...date collected    : 07/10/2008

...time collected    : 12:36:49

...run name          :

...run title         : Epilepsy

...subject           : HEALTH02ZHANGJING

...run description   : 2-minute spontaneous data collection.

Collect 15 runs, for a total of 30 minutes of data.

...operator          : WU

...number of channels: 327

...number of samples : 36000 per trial

...sample rate       : 300 samples/sec

...number of trials  : 1 trials (average of 0)

...duration          : 120 sec total

...duration          : 120 sec / trial

...pretrigger points : 0 samples

...pretrigger msec   : 0 msec

...sensor file name  :

...head zeroing      : no

...number of filters : 1

-Filter #         1

-Frequency:         75 Hz

-Class:         1

-Type:         1

...done (  2.14 sec)

CTF_READ_MEG4 [v  253 ]

CTF_CHANNEL_SELECT [v  1.9 ]

...selecting all channels

...reading    1 of    1 trials

...sorting 327 from 327 sensors

...done ( 10.16 sec)

I =

1

??? Index exceeds matrix dimensions.

Error in ==> C:MATLAB6p5spm5spm_eeg_rdata_CTF275.m

On line 55  ==> PP2=squeeze(pre_data.data(:,I(2)));

Error in ==> C:MATLAB6p5spm5spm_eeg_converteeg2mat.m

On line 106  ==>                         D{i} = spm_eeg_rdata_CTF275(S2);

??? Error using ==> figure

Error while evaluating uicontrol Callback.

>>