Dear Ramesh,
Try changing line 32 of spm_eeg_downsample to:
flag_TBX = 0;
Best,
Vladimir
On Tue, Oct 18, 2011 at 8:47 AM, M.G. Ramesh Babu [MU-KMCIC]
<[log in to unmask]> wrote:
> Dear Vladimir,
>
> I am getting the same problem again.
>
>
> ??? Undefined function or method 'resample' for input arguments of type 'double'.
> Error in ==> spm_eeg_downsample at 124
> Dtemp(j,1:nsamples_new) = resample(d', P, Q)';
> Error in ==> spm at 982
> evalin('base',CBs{v-1})
>
> ??? Error while evaluating uicontrol Callback
>
>
> I am using recently updated SPM8 in MATLAB R2011a. I could not able to understand why such problem repeatedly. I will be very happy if i get the solution
>
> With thanks
> M.G.Ramesh Babu, BPT., MSc
> Lecturer in Physiology & Neuroscience,
> KMC-IC,
> Manipal-576104
> Karnataka
> India
> +91-820-2933035
> +919611362075
> ________________________________________
> From: Vladimir Litvak [[log in to unmask]]
> Sent: Monday, October 17, 2011 2:17 AM
> To: M.G. Ramesh Babu [MU-KMCIC]
> Cc: [log in to unmask]
> Subject: Re: [SPM] How to generate MONT EXP.mat?
>
> Dear Ramesh,
>
> Signal processing toolbox is not necessary if you have the latest
> updated version of SPM8. Please make sure that is the case.
>
> Best,
>
> Vladimir
>
> On Sun, Oct 16, 2011 at 12:28 PM, M.G. Ramesh Babu [MU-KMCIC]
> <[log in to unmask]> wrote:
>> Dear Vladimir
>>
>> I am facing a problem during downsample. Please see the error reprot. dffMspm8_subject1.dat file is generated, but dffMspm8_subject1.mat is not generated.
>>
>> ??? Undefined function or method 'resample' for input arguments of type 'double'.
>> Error in ==> spm_eeg_downsample at 124
>> Dtemp(j,1:nsamples_new) = resample(d', P, Q)';
>> Error in ==> spm at 982
>> evalin('base',CBs{v-1})
>>
>> ??? Error while evaluating uicontrol Callback
>>
>>
>>
>> In SPM manual it is given that signal procesing tool box should be there. Is it MATLAB tool or a separate tool for EEG processing? I installed image tools in MATLAB earlier but not signal processing tools. If it has to be installed please tell me how to install this?
>>
>> With Thanks
>>
>> M.G.Ramesh Babu, BPT., MSc
>> Lecturer in Physiology & Neuroscience,
>> KMC-IC,
>> Manipal-576104
>> Karnataka
>> India
>> +91-820-2933035
>> +919611362075
>> ________________________________________
>> From: Vladimir Litvak [[log in to unmask]]
>> Sent: Saturday, October 15, 2011 9:07 PM
>> To: M.G. Ramesh Babu [MU-KMCIC]
>> Cc: [log in to unmask]
>> Subject: Re: [SPM] How to generate MONT EXP.mat?
>>
>> Dear Ramesh,
>>
>> The script that generates the montage relies on the converted dataset
>> spm8_subject1.{mat+dat} . You should convert the bdf file and run the
>> montage generating script in the same directory where the converted
>> dataset is.
>>
>> Best,
>>
>> Vladimir
>>
>> On Sat, Oct 15, 2011 at 8:59 AM, M.G. Ramesh Babu [MU-KMCIC]
>> <[log in to unmask]> wrote:
>>> Dear SPMers,
>>> I am practicing downloaded EEG data set from SPM. I am trying to generate MONT EXP.mat file. But I am getting following error report. Please tell me how to generate this file for further analysis.
>>> Error report:
>>> ??? Error using ==> spm_eeg_load at 43
>>> Trouble reading file spm8_subject1.mat
>>>
>>> Error in ==> montage_subject1 at 1
>>> D = spm_eeg_load('spm8_subject1.mat');
>>>
>>> Thanks in advance
>>> Ramesh
>>>
|