I got the error message "Only 1 event" even though there were 2 event types.
It seems that in the "era_startproc" file, the line "if size(era_prefs.proc.inp.whichevents,1) < 2" should be "if size(era_prefs.proc.inp.whichevents,2) < 2" since era_prefs.proc.inp.whichevents was defined as cell with one row.
Your Environment
ERA Toolbox Version used: 0.5.2
Matlab Version used: 2022a
Operating System and Version (desktop or mobile): mac OS Ventura 13.2.1
CmdStan Version (if applicable): 2.26.1
MatlabStan Version (if applicable): 2.15.1.0
MatlabProcessManager Version (if applicable): 0.5.2
I got the error message "Only 1 event" even though there were 2 event types. It seems that in the "era_startproc" file, the line "if size(era_prefs.proc.inp.whichevents,1) < 2" should be "if size(era_prefs.proc.inp.whichevents,2) < 2" since era_prefs.proc.inp.whichevents was defined as cell with one row.
Your Environment