Hi
Brand new to Brainstorm, using the newest (3/12/18) version of Brainstorm with Matlab 2017a.
I’m trying to edit a MEG event, and I followed the instructions exactly that are given here: http://neuroimage.usc.edu/brainstorm/Tutorials/Scripting#Example:_Editing_events
While the revisions do appear when I load the event back into Brainstorm, if I click on an event I soon get errors.
Here’s the brainstorm error I get:
** Error: Line 4109: text
** Invalid parameter/value pair arguments
**
** Call stack:
** >figure_timeseries.m>PlotEventsDots_EventsBar at 4109
** >figure_timeseries.m>UpdateRawTime at 3990
** >figure_timeseries.m>PlotRawTimeBar at 3931
** >figure_timeseries.m>PlotFigure at 2626
** >figure_timeseries.m at 39
** >view_timeseries.m at 234
** >tree_callbacks.m at 241
** >bst_call.m at 28
** >panel_protocols.m>CreatePanel/protocolTreeClicked_Callback at 109
**
Here’s the full set of matlab errors I get:
Error using text
Invalid parameter/value pair arguments
Error in figure_timeseries>PlotEventsDots_EventsBar (line 4109)
hEvtLabel = text(mean(events(iEvt).times,1), … % X
Error in figure_timeseries>UpdateRawTime (line 3990)
PlotEventsDots_EventsBar(hFig);
Error in figure_timeseries>PlotFigure (line 2623)
UpdateRawTime(hFig);
Error in figure_timeseries (line 39)
eval(macro_method);
Error in bst_figures>ReloadFigures (line 1737)
isOk = figure_timeseries(‘PlotFigure’, iDS, iFig, [], [], isFastUpdate);
Error in bst_figures (line 59)
eval(macro_method);
Error in panel_record>ReloadRecordings (line 1115)
bst_figures(‘ReloadFigures’);
Error in panel_record>ValidateTimeWindow (line 603)
ReloadRecordings();
Error in panel_record>SetStartTime (line 542)
ValidateTimeWindow();
Error in panel_record>JumpToEvent (line 1488)
SetStartTime(startTime, evtEpoch);
Error in panel_record>CreatePanel/ListOccur_ClickCallback (line 360)
JumpToEvent();
Thanks!
Sarah