From bf68b2465f96d07415e3246d01b425a7407831de Mon Sep 17 00:00:00 2001 From: bartkrekelberg Date: Tue, 9 Aug 2022 10:46:18 +0200 Subject: [PATCH] Bugfix addressing Issue #200. Block is now returned as a column vector - one row per trial, consistent with other return variables. --- +neurostim/parameter.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/+neurostim/parameter.m b/+neurostim/parameter.m index 37bc3d87..ce4d60d3 100644 --- a/+neurostim/parameter.m +++ b/+neurostim/parameter.m @@ -557,7 +557,7 @@ function replaceLog(o,val,eTime) if nargout >4 || p.Results.struct % User asked for block information block= get(o.plg.cic.prms.block,'atTrialTime',Inf,'matrixIfPossible',false); % Blck at end of trial - block = [block{trial}]; % Match other info that is returned + block = [block{trial}]'; % Match other info that is returned. Make it a column vector to match other data/trial info. end if (nargout >5 || p.Results.struct) && ~strcmp(o.name,'frameDrop')