help > RE: error in setup for defining sessions
Apr 19, 2014  05:04 AM | Alfonso Nieto-Castanon - Boston University
RE: error in setup for defining sessions
Dear Pauline,

Sorry I am not able to replicate this error. It seems that for some reason the field storing the condition names (CONN_x.Setup.conditions.names) is incorrectly formatted in your project. One way to fix this would be to redefine these values using batch commands. Alternatively you may simply try the following:


global CONN_x;
CONN_x.Setup.conditions.names={' '};

and then re-enter the condition info in the gui. Let me know if this works; also if you happen to get this sort of error to reappear please let me know what steps you followed so that I can make sure this does not occur again.

Best
Alfonso
 

Originally posted by Pauline Favre:
Dear conn experts,

I'm trying to define a new experiment with two conditions (pre, post) and two sessions per condition (i.e., four sessions per subject in total).
I tried to define one condition per session in the setup step (e.g. pre-ses1, pre-ses2, post-ses1, post-ses2), however I got the following error :

??? Cell contents reference from a non-cell array object.

Error in ==> conn at 837
set(CONN_h.menus.m_setup_00{6},'string',deblank(names{nconditions}));
??? Error while evaluating uicontrol Callback

??? Error using ==> set
Cell array of strings may only contain string and numeric matrices

Error in ==> conn at 782
set(CONN_h.menus.m_setup_00{1},'string',CONN_x.Setup.conditions.names,'max',1);
Error in ==> conn_menumanager at 117
feval(MM.MENU{n0}.callback{n1}{1},MM.MENU{n0}.callback{n1}{2:end});
??? Error while evaluating figure WindowButtonUpFcn

Any help would be greatly appreciated!
Best,
PF

Threaded View

TitleAuthorDate
Pauline Favre Apr 17, 2014
RE: error in setup for defining sessions
Alfonso Nieto-Castanon Apr 19, 2014