[color=#000000]Dear Amy,[/color]
[color=#000000]Sorry the error message is not very helpful there, but that indicates that there was a problem reading either the lh.pial or rh.pial files (at least one of those files does not appear to be saved correctly in the expected FreeSurfer format, as its initial 24bit "word" does not match the expected 16777214 or 16777215 pattern)[/color]
[color=#000000]Hope this helps[/color]
[color=#000000]Alfonso[/color]
[i]Originally posted by Amy Bouchard:[/i][quote]Dear Alfonso,
I am importing FreeSurfer brainmask.mgz files into CONN in order to conduct surface-based analyses but I have encountered an error during the set process. (I used FreeSurfer's recon-all function with default parameters, using FreeSurfer version 7.1 and set the analysis space in CONN to surface: same as template (Freesurfer fsaverage).
Could you please help with the following?
ERROR DESCRIPTION:
Undefined function or variable 'vertex_coords'.
Error in conn_freesurfer_read_surf (line 77)
vertex_coords = reshape(vertex_coords, 3, vnum)' ;
Error in conn_surf_readsurf (line 38)
[vertices,faces]=conn_freesurfer_read_surf(filename);
Error in conn_menu (line 712)
title=[conn_surf_readsurf(files{2}) conn_surf_readsurf(files{5})];
Error in conn (line 2507)
conn_menu('updateimage',CONN_h.menus.m_setup_00{5},vol);
CONN20.b
SPM12 + DEM FieldMap MEEGtools
Matlab v.2019a
project: CONN19.c
storage: 1775.0Gb available
Thank you,
Amy[/quote]
[color=#000000]Sorry the error message is not very helpful there, but that indicates that there was a problem reading either the lh.pial or rh.pial files (at least one of those files does not appear to be saved correctly in the expected FreeSurfer format, as its initial 24bit "word" does not match the expected 16777214 or 16777215 pattern)[/color]
[color=#000000]Hope this helps[/color]
[color=#000000]Alfonso[/color]
[i]Originally posted by Amy Bouchard:[/i][quote]Dear Alfonso,
I am importing FreeSurfer brainmask.mgz files into CONN in order to conduct surface-based analyses but I have encountered an error during the set process. (I used FreeSurfer's recon-all function with default parameters, using FreeSurfer version 7.1 and set the analysis space in CONN to surface: same as template (Freesurfer fsaverage).
Could you please help with the following?
ERROR DESCRIPTION:
Undefined function or variable 'vertex_coords'.
Error in conn_freesurfer_read_surf (line 77)
vertex_coords = reshape(vertex_coords, 3, vnum)' ;
Error in conn_surf_readsurf (line 38)
[vertices,faces]=conn_freesurfer_read_surf(filename);
Error in conn_menu (line 712)
title=[conn_surf_readsurf(files{2}) conn_surf_readsurf(files{5})];
Error in conn (line 2507)
conn_menu('updateimage',CONN_h.menus.m_setup_00{5},vol);
CONN20.b
SPM12 + DEM FieldMap MEEGtools
Matlab v.2019a
project: CONN19.c
storage: 1775.0Gb available
Thank you,
Amy[/quote]