I am attempting to use the group GUI to plot lead locations for several patients on one image. I set the directory to a folder labeled “STN.” Within this folder are individual patient folders containing the contents of their “out” directory. As soon as I do this, I get the following MATLAB warning:
Warning: ‘popupmenu’ control requires that ‘Value’ be an integer within String range
Control will not be rendered until all of its parameter values are valid
If I proceed from here to add a patient (which I do by selecting their entire subfolder), I get the following MATLAB error:
Index exceeds matrix dimensions.
Error in lead_group>refreshvifc (line 744)
Error in lead_group>addptbutton_Callback (line 249)
Error in gui_mainfcn (line 95)
Error in lead_group (line 42)
Error in @(hObject,eventdata)lead_group(‘addptbutton_Callback’,hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
Any advice would be very much appreciated.