Back to the main page.

Bug 2972 - clusterstat.m crashing with Matlab 2015b

Reported 2015-09-28 17:57:00 +0200
Modified 2016-06-14 16:14:55 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 blocker
Assigned to: Robert Oostenveld
Depends on:
See also:

Fran├žois Tadel - 2015-09-28 17:57:15 +0200

Matlab 2015b is less flexible with some assignments than before. Line 527 is not valid anymore because variable "stat" was a double value previously in the same function: stat.prob = prob; You just need to add something that resets the "stat" variable, for example: stat = struct();

Robert Oostenveld - 2015-09-28 18:07:16 +0200

Thanks for noting, I fixed it. I suspect that we will have many more new errors of this type. mac011> svn commit private/clusterstat.m Sending private/clusterstat.m Transmitting file data . Committed revision 10692.

Robert Oostenveld - 2016-06-14 16:14:55 +0200

Hereby I am closing multiple bugs that have been resolved for some time now. If you don't agree to the resolution, please reopen.