Error setting property 'CLim' of class 'Axes'

76 views
Skip to first unread message

J M

unread,
Sep 13, 2023, 11:32:43 AM9/13/23
to roast-users
Hallo,

my attempt to run the following and similar commands (Windows 10, Matlab 2022)

roast('nyhead',[],'electype','ring','elecsize',[7 10 3])

gives a similar error printed below, when it comes to visualizing the electric field models:

The fixes I've read in the mailing list so far suggest either trying an earlier version of matlab or updating to the newest getdp don't really work for me. I can't install a different matlab on this work computer, and trying the newest getdp seems to add more errors, possibly I haven't found all parts of the script where the path needs changing. Are there any other suggestions? Here is the error message:

Results are saved as: example\nyhead_20230908T150306_roastResult.mat ...and also saved as NIFTI files: Voltage: example\nyhead_20230908T150306_v.nii

 E-field: example\nyhead_20230908T150306_e.nii E-field magnitude: example\nyhead_20230908T150306_emag.nii  You can also find all the results in the following two text files: Voltage: example\nyhead_20230908T150306_v.pos

 E-field: example\nyhead_20230908T150306_e.pos ====================================================== Look up the detailed info for this simulation in the log file: example\nyhead_roastLog under the simulation tag "20230908T150306". ======================================================

 generating 3D renderings... Error using caxis Error setting property 'CLim' of class 'Axes': Value must be a 1x2 vector of numeric type in which the second element is greater than the first element or is Inf. Error in visualizeRes (line 131) caxis(dataShowRange);

 Error in roast (line 858) visualizeRes(subj,subjRasRSPD,T2,node,elem,face,injectCurrent,hdrInfo,uniqueTag,0,vol_all,ef_mag,ef_all);


Best Regards,

James

Reply all
Reply to author
Forward
0 new messages