Hello everyone;
I am getting a very strange message from the bst figure function, something I have never seen before.
In brief, what I did was to run a simple ft_sourcestatistics between two sets of images (18 in process 1 and 18 in process 2). The stats ran fine, but when I try to load the image, the figure pops up but I can't "scroll" across time (i.e., as soon as I hit the move forward button to look at the temporal dynamics this error pops up on Matlab).
This issue does not show if I try to redo the same but running the t test or parametric stat functions of brainstorm, but only after using Process 1 and 2 with fieldtrip function.
Index in position 2 exceeds array bounds (must not exceed 1).
Error in panel_surface>UpdateSurfaceData (line 1436)
mask = mask | sClusters(iClust).mask(:, iTime, :);
Error in panel_surface (line 38)
eval(macro_method);
Error in bst_figures>FireCurrentTimeChanged (line 909)
panel_surface('UpdateSurfaceData', sFig.hFigure);
Error in bst_figures (line 59)
eval(macro_method);
Error in panel_time>SetCurrentTime (line 243)
bst_figures('FireCurrentTimeChanged', ForceTime);
Error in panel_time>TimeKeyCallback (line 385)
case 'pageup', SetCurrentTime(CurrentTime + 10 * SamplingRate);
Error in panel_time>@(h,ev)TimeKeyCallback('pageup') (line 60)
jButtonTime(5) = gui_component('button', jPanelNew, '', '>>', [], [], @(h,ev)TimeKeyCallback('pageup'));
Any Idea?
Thanks!

.
!!