External Email - Use Caution
< M A T L A B (R) >
Copyright 1984-2019 The MathWorks, Inc.
R2019b Update 6 (9.7.0.1434023) 64-bit (maci64)
July 15, 2020
For online documentation, see https://www.mathworks.com/support
For product information, visit www.mathworks.com.
>> Warning: Argument must be a string scalar or character vector.
> In ver (line 45)
In freesurfer_read_surf (line 70)
In find_corresponding_center_FSformat (line 26)
Error using fprintf
Function is not defined for 'struct' inputs.
Error in freesurfer_read_surf (line 70)
fprintf('FREESURFER_READ_SURF [v %s]\n',ver(11:15));
Error in find_corresponding_center_FSformat (line 26)
[mesh_pial.vertices, mesh_pial.faces] = freesurfer_read_surf(pial);
>>
ERROR: find_corresponding_center_FSformat did not complete successfully!