Reply-To: | | [log in to unmask][log in to unmask]> wrote: >>> Dear Jakob, >>> >>> do you still have this problem with the MEX file? >>> I could find a related discussion here: >>> http://www.mathworks.ch/matlabcentral/newsreader/view_thread/241620 >>> Does it only occur with mat2file.mexw64? >>> >>> Best regards, >>> Guillaume. >>> >>> >>> Jakob Scherer wrote: >>>> dear all, >>>> thanks for the rapid help, meanwhile i tested some things >>>> >>>> concerning the 64-bit windows workstation: >>>> -Windows Vista Ultimate, SP2 >>>> -Matlab 7.8.0 (R2009a) >>>> >>>> then i tried to run it on a 32-bit windows (XP SP3, Matlab 7.6.0) as >>>> well, as you suggested. There were no problems at the .mex file stage, >>>> however the code aborted later on. i therefore reopened the "spm8 >>>> convert epoched eeglab file" thread, if that's ok (as that problem >>>> does not seem to be a platform specific anymore). >>>> >>>> On Fri, Jun 19, 2009 at 4:47 PM, Vladimir >>>> Litvak<[log in to unmask]> wrote: >>>>> Dear Jakob, >>>>> >>>>> On Fri, Jun 19, 2009 at 3:08 PM, Jakob Scherer<[log in to unmask]> wrote: >>>>>> hi, >>>>>> >>>>>> it seems to me that in >>>>>> >>>>>> spm_cfg_eeg_convert.m, line 37 should read: >>>>>> usetrials.val = {1}; % instead of usetrials.val = {0}, >>>>>> >>>>> I'll correct that. Thanks. >>>>> >>>>>> Then, having corrected that, i get the following error: >>>>>> >>>>>> SPM8: spm_eeg_channelselection (v2866) 15:22:55 - 19/06/2009 >>>>>> ======================================================================== >>>>>> Failed 'M/EEG Conversion' >>>>>> Invalid MEX-file >>>>>> 'P:\Science\Matlab\spm8\@file_array\private\mat2file.mexw64': Invalid >>>>>> access to memory location. >>>>>> >>>>>> . >>>>>> In file "P:\Science\Matlab\spm8\@file_array\subsasgn.m" (v1355), >>>>>> function "subfun" at line 132. >>>>>> In file "P:\Science\Matlab\spm8\@file_array\subsasgn.m" (v1355), >>>>>> function "subsasgn" at line 73. >>>>>> In file "P:\Science\Matlab\spm8\spm_eeg_convert.m" (v3088), function >>>>>> "spm_eeg_convert" at line 346. >>>>>> In file "P:\Science\Matlab\spm8\config\spm_cfg_eeg_convert.m" (v3059), >>>>>> function "eeg_convert" at line 231. >>>>>> >>>>> This sounds like a problem with mex files on your øLPXi |