Hello Andy and fellow ROAST users,
Ran into the Axes issue again (Step 6). I encountered it with my first participant using their T1. However, based on the forum's history and prior sucess I changed the mesh options and added "'meshoptions',struct('distbound',0.5)" and it worked!
However, my next participant I used the same line of code and it failed. Here's my code.
roast('PATH\YA20_WIPVBRAIN_3DT1_0.8mm_20211215120407_21.nii',{'C3',2,'Fp2',-2},'zeropadding',60,'electype','pad','elecsize',[70 50 3],'meshoptions',struct('distbound',0.5))
and I got the same Axes error (see immediately below):
Error using matlab.graphics.axis.Axes/set
Error setting property 'CLim' of class 'Axes':
Value must be a 1x2 vector of numeric type in which the second element is larger than the first and may be Inf
Error in caxis (line 106)
set(ax,'CLim',arg);
Error in visualizeRes (line 131)
caxis(dataShowRange);
Error in roast (line 864)
visualizeRes(subj,subjRasRSPD,T2,node,elem,face,injectCurrent,hdrInfo,uniqueTag,1,vol_all,ef_mag,ef_all);
>>
Based on another user I updated DP (from 3.2.0 to 3.4.0), updated the library and I still get the same error.
Any help would be most appreciated!
Thanks a bunch,
Brian