Copy the attached matlab file into $FREESURFER/matlab/freesurfer_read_surf.m

On 11/24/2023 12:53 PM, 笹林大樹 wrote:

        External Email - Use Caution        

Dear Freesurfer experts,

I’m sorry, I would like to add some missing information about the following question.

OS: CentOS Linux 7
FS ver: fs7.1.0
Matlab ver: R2017a or R2022a

I would be grateful for your answer when you have time.

Best,

Daiki Sasabayashi

転送されたメッセージ:

差出人: 笹林大樹 <ds179@med.u-toyama.ac.jp>
件名: [Freesurfer] Errors in LGI command
日付: 2023年11月22日 15:19:36 GMT-5
宛先: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
返信先: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>

        External Email - Use Caution        


Dear Freesurfer experts,

I have run the following command:
recon-all -s sub-1001 -localGI -no-isrunning

However, I got the error message as below.

>> Warning: Input argument must be a character vector.  
> In ver (line 41) 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! Linux dn003 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux  

recon-all -s sub-1001 exited with ERRORS at Wed Nov 22 14:59:33 EST 2023

How can I resolve the problem?
Thank you for your consideration.

Best,

Daiki Sasabayashi
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately.  Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer