Hello dear Vladimir!
Thanks for the quick response - the problem is that I need eeglab for
ICA - so in pronciple I can remove eeglab as a main toolbox but I cannot
for example exclude the external eeglab files that are included under
the fieldtrip folder.
And since this issue came up, I wanted to ask you whether there is a
certain way to use EEGlab, Fieldtrip and ICA side by side since there
are mini versions of each included in each other. Apparently, excluding
the external folders does not help as they are added to the path
dynamically (well, I know I can delete them completely though). In my
case I managed to find a sweet spot in the file order have it all
working but certain incompatibilities appear every now and then when I
update a toolbox as, unavoidably, the toolboxes are not developed
"synchronously". So I was just wondering if there is a golden rule in
setting them up - overwriting individual problematic files within the
external folders so as they contain the latest code of the corresponding
toolbox usually works, but it is definitely not good practice. Again, I
can have it working but only after I fiddle around with it.
Any help or advice for good practice on this matter would be highly
appreciated,
Thanks and all the best,
Panagiotis
On 4/13/2012 4:47 PM, Vladimir Litvak wrote:
> Dear Panagiotis,
>
> This error happens when EEGLAB is in the path with SPM. Clear your
> path, add only the SPM root folder to it, re-run SPM and everything
> will be OK.
>
> Best,
>
> Vladimir
>
>
> On 13 Apr 2012, at 14:30, Panagiotis Tsiatsis wrote:
>
>> Hi Armand, and hello dear SPM-ers,
>>
>> I am also facing the same problem here so I can confirm it, using the
>> spm-home made routine should be fine though as long as antialising
>> filters are in place. Plus, for some reason I am facing memory issues
>> that hadn t been an issue with earlier matlab versions (but I don't
>> remember which ones exactly). So, although I am on a 64bit windows 7
>> machine with 12gb of ram, I had to remove the casting to double to
>> make it work. Does anybody have similar experiences? From a quick
>> look, the spm_eeg_downsample did not change much over the last years,
>> so maybe it is just a memory allocation issue within the matlab
>> routines,
>>
>> Best,
>> Panagiotis
>>
>> On 01/26/2012 07:35 PM, Armand Mensen wrote:
>>> Dear SPM EEG Users (I realise there are few :D )
>>>
>>> I was just reanalysing the oddball tutorial data for some
>>> experimenting and the downsampling gave me the Matlab error...
>>>
>>> Error using .*
>>> Matrix dimensions must agree.
>>>
>>> Error in resample (line 75)
>>> h = p*firls( L-1, [0 2*fc 2*fc 1], [1 1 0 0]).*kaiser(L,bta)' ;
>>>
>>> Error in spm_eeg_downsample (line 125)
>>> Dtemp(j,1:nsamples_new) = resample(d', P, Q)';
>>>
>>>
>>> I am using the Matlab version 2011b and perhaps this has something
>>> to do with it since the tutorial data is probably fine and I have
>>> run the analysis.
>>>
>>> I fixed the problem by setting the line 32 in spm_eeg_downsample to
>>> "flag_TBX = 0;" which then bypasses the signal processing toolbox.
>>>
>>> So this mail is essentially just to inform users if they encounter
>>> this issue; and for any SPM technicians wanting other users to test
>>> SPM for EEG since its pretty bad advertising
--
Panagiotis S. Tsiatsis
Max Planck Institute for Biological Cybernetics
Cognitive NeuroImaging Group
Tuebingen, Germany
|