Fieldtrip source statistics bug

Hi,

While using Source statistics BST crashes while attepting to flip the sign. The time window over which I was trying to analyze was small (below 50ms) and was averaging over the window. I have attached the BST and MATLAB errors. My BST version is up to date. Please let me know if I’m doing something wrong.

Thanks.

Hello,

You are using Matlab 2016b, in which they changed the use of “nargin” and “nargout”.
Your version of Brainstorm is up to date and includes the fix for this modification.
But you need to update FieldTrip as well (they modified the function to read nargin before calling ft_preamble_init.m)

Cheers,
Francois

Thank you. That was easily resolved.