Hello,
I am trying to use the "visualize" function to display a graph of the MEP amplitude evolution across several conditions contained in one labchart file: ~750 pages divided in 10 conditions of more or less 75 pages each… I created a condition file that I applied to the data, I analyze the data using rMEP function, but I am unable to use the visualize function. However, it seems to work when I use the "aMEP" function but it is too slow this since there is a lot of trials. Please see the error below:
Index exceeds the number of array elements. Index must not exceed 0.
Error in TMSAnalysisToolBoxV1_Resize/PlotButtonPushed (line 8732)
tempPreStimData = preStimtoAnalyze(conditionInd{plotOrders == icondition});
Error in appdesigner.internal.service.AppManagementService/executeCallback (line 171)
callback(appOrUserComponent, event);
Error in matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 62)
newCallback = @(source, event)executeCallback(ams, ...
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback
Error while evaluating Button PrivateButtonPushedFcn.
Thanks for the help,