help > 2nd Level Analysis Error Text Conn20b
Showing 1-3 of 3 posts
Display:
Results per page:
Sep 24, 2021  10:09 PM | Keith Dodd
2nd Level Analysis Error Text Conn20b
Hello,

When I run my second level analysis, it runs into an error and then gives me no output/plots. Error output suggested I post it here:
ERROR DESCRIPTION:

Error using text
Value should be a finite number greater than 0
Error in conn_vproject (line 1175)
hold(h,'on'); hf=text(.95*size(tplot,2),.95*size(tplot,1),titleclusternames,'color','k','horizontalalignment','right','fontsize',4+CONN_gui.font_offset,'parent',h); hold(h,'off');
Error in conn_display (line 325)
conn_vproject(param,nonparam,[],[],THR,side,parametric,[],[],[],.50,[],SPMfilename,voxeltovoxel,issurface);
Error in conn_process (line 5051)
fh=conn_display('SPM.mat',ncon,style);
Error in conn_process (line 60)
case 'results_voxel', [varargout{1:nargout}]=conn_process(16,varargin{:});
Error in conn (line 11497)
conn_process('results_voxel','readsingle','seed-to-voxel');
Error in conn (line 10649)
if state==2, conn gui_results_wholebrain;
CONN20.b
SPM12 + AAL3 DAiSS DEM FieldMap MEEGtools cat12 gift marsbar wfupickatlas
Matlab v.2019b
project: CONN20.b
storage: 7969.6Gb available
spm @ /usr/local/MATLAB/tools/spm12
conn @ /usr/local/MATLAB/tools/conn20b/conn

I tried to google this, but do not understand what I could do differently (or what I might be doing wrong). Why would the input to text not be a finite number greater than 0? How can I get this fixed?

Matlab 2019b, spm12, conn20b

Thanks!
Sep 26, 2021  05:09 AM | Keith Dodd
RE: 2nd Level Analysis Error Text Conn20b
By looking at the Matlab Command Window the Error seems to occur when trying to load the spm.mat. I still do not know how to fix it, or why this error exists. 

From the Command Window:
Loading /PATHTOCONN/conn_project01/results/secondlevel/SBC_01/AllSubjects/session_1(1_0).session_2(0_1)/DefaultMode.MPFC_(1_0_0_0_0_0_0_0_0_0_0).Default8213396931452914/SPM.mat
please wait...
ERROR DESCRIPTION:

Error using text
Value should be a finite number greater than 0

Error in conn_vproject (line 1175)
hold(h,'on'); hf=text(.95*size(tplot,2),.95*size(tplot,1),titleclusternames,'color','k','horizontalalignment','right','fontsize',4+CONN_gui.font_offset,'parent',h); hold(h,'off');

Error in conn_display (line 325)
conn_vproject(param,nonparam,[],[],THR,side,parametric,[],[],[],.50,[],SPMfilename,voxeltovoxel,issurface);

(With the rest of the error message I already posted).

I assume somehow the .95*size(tplot,2), or .95*size(tplot,1) might give a value that is not a finite number greater than 0? Or maybe it is in the wrong format (such as having to be a double?).

Thanks a lot for the help! Really perplexing and difficult when I cannot figure out a way to get the analysis.
Sep 26, 2021  05:09 AM | Keith Dodd
RE: 2nd Level Analysis Error Text Conn20b
OK, I found a work-around. Tools -- GUI Options -- change font size. Mine was set at 4, which looks good on my screen. Changing it to 5 made it work. Found a similar post here; sorry I missed that before.

I am keeping this up in case it helps someone in the future with the same issue.