matlab crashes upon running fieldtrip - glibc error

Robert Oostenveld r.oostenveld at FCDONDERS.RU.NL
Mon Nov 27 15:46:23 CET 2006


Hi Jed,

On 22 Nov 2006, at 22:16, Jed Meltzer wrote:
> Just some further details here about my problem -
>
> I used the matlab debugger to try to find where preprocessing.m was
> crashing, and found that it was
> in the calling of "progress.m"
> ...
> So I guess I am reporting that the workaround does not work!  I
> have matlab 7.3 and it crashes
> anyway.

Yes, that is also what I have observed. I have contacted Mathworks
with this, and they confirmed that that is a bug in Matlab 7.3. It
has something to do with acceleration and persistent variables.

It turns out that "feature accel off" should be given prior to
calling the "progress" function, so therefore it does not work when
included in the progress function itself.

> However if I just type "feature accel off" at the beginning of my
> matlab session it works ok.  I don't
> know why, but in the meantime this is working.
> Maybe you can fix this in the future?  Thanks.

I have no idea how to fix this myself, I hope that Mathworks will fix
it in the next Matlab version. I suggest that you include the
"feature accel off" in yur matlab startup.m file. E.g. this is what I
have in my ~/matlab/startup.m

if strcmp(getfield(ver('MATLAB'), 'Version'), '7.3')
   feature accel off
end

best regards
Robert



More information about the fieldtrip mailing list