External Email - Use Caution If you have not already done so, I would try installing and using the newest version of the Matlab runtime environment that the 7.4.1 release was tested with, i.e. R2019b. Once you have set $FREESURFER_HOME, then run the fs_install_mcr script included with the freesurfer distribution .... $ export FREESURFER_HOME=<your install path> $ cd $FREESURFER_HOME/bin $ sudo FREESURFER_HOME=$FREESURFER_HOME ./fs_install_mcr R2019b … answer y to any installer questions ... Then I think it should work to find the Matlab libraries by at least start off with setting, $ export LD_LIBRARY_PATH=$FREESURFER_HOME/MCRv97/bin/glnxa64 Please make sure you have otherwise removed from your environment and references to the previous Matlab R2022b setup. - R.
Begin forwarded message:From: Benjamin Cole Sherman <bshe...@stanford.edu> Subject: [Freesurfer] recon-all error: matlab gives: Unrecognized function or variable 'make_outer_surface'. Date: August 30, 2023 at 12:02:09 EDT To: "freesurfer@nmr.mgh.harvard.edu" <freesurfer@nmr.mgh.harvard.edu> Reply-To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu> External Email - Use Caution Hi FreeSurfer Team,I'm trying to run recon-all on an MRI nii.gz file and I believe most of the command runs as the error doesn't happen until several hours in, however once matlab is initiated I consistently get the following output:MATLAB is selecting SOFTWARE OPENGL rendering. < M A T L A B (R) > Copyright 1984-2022 The MathWorks, Inc. R2022b (9.13.0.2049777) 64-bit (glnxa64) August 24, 2022Warning: Function iscolumn has the same name as a MATLAB builtin. We suggestyou rename the function to avoid a potential name conflict.Warning: Function ismatrix has the same name as a MATLAB builtin. We suggestyou rename the function to avoid a potential name conflict.Warning: Function isrow has the same name as a MATLAB builtin. We suggest yourename the function to avoid a potential name conflict.Warning: Function narginchk has the same name as a MATLAB builtin. We suggestyou rename the function to avoid a potential name conflict.Warning: Function isequaln has the same name as a MATLAB builtin. We suggestyou rename the function to avoid a potential name conflict.Warning: Function istable has the same name as a MATLAB builtin. We suggest yourename the function to avoid a potential name conflict.Warning: Function isfile has the same name as a MATLAB builtin. We suggest yourename the function to avoid a potential name conflict.Warning: Function isfolder has the same name as a MATLAB builtin. We suggestyou rename the function to avoid a potential name conflict..Warning: Function isstring has the same name as a MATLAB builtin. We suggestyou rename the function to avoid a potential name conflict. For online documentation, see https://secure-web.cisco.com/1A7cHJG7OTQToCpTNsg3ycqt5UEObzYbnyuy3_pfg1wlC1F4jIcVd5Pf6qNpHle7gAqT6177JQQHGrD_FY6ddsPj56KJNkyqORfZ-yq1A_uco2Hs4cdMVZQlYtvfMd8x_lRoSbGgA6HkBbAlHw3Q-AOuQ__pYiP83887FgmXZJoCFrKjnw3CsPha7iaVbaHPnfA7ZxSpDnyTRx8SR9Lf1azZHdNBwnNBsOPaZ1tDgP3AdDr-vLWNWNGjJa4MSRiWI_dpdoFbTBvkXze5zrUv2R0w8MgXoHQdv0b1UtwSdrSJMTpEhgSqbsVxDqMJhG-S3EN862Yz_ti_Gc66ckcWp4w/https%3A%2F%2Fwww.mathworks.com%2FsupportFor product information, visit http://secure-web.cisco.com/1PkNE_zNSBM0yzYMjwH_cGeVC4O7UdJdfnliIOnqoaBcy5GHeqYRm_4T9_WR9vGAfol8V0_h_BBmmgtxSeq1hM7DAzUz2W8u9riITxG6WdjCZo6evmQDs2w70OLY4bBtE9v14Mw-xplN4Bax9dYaGZJinqA1-khI72MQgDmD-GNqYeGUSK4_PoYikluiayoPmvJ3sDu83lphtc86T2XqofDnHgRz4xHVDKv4x4IzRF_k90VuY4qtwhiWQcGFroyQqUnRlwBy8MxzppbNN1vt2O5sFg60fZM18Ksgvk1xxX8wXaurrhAhfCK-lB5rJZX3QwumhPOjvG3htgVFHOsYbJA/http%3A%2F%2Fwww.mathworks.com.%26nbsp;>> Unrecognized function or variable 'make_outer_surface'. >> ERROR: make_outer_surface did not create output file '/usr/local/freesurfer/7.4.1/subjects/EP01/surf/tmp-mris_compute_lgi-lh.pial/lh.pial-outer'!Command exited with non-zero status 1I haven't been able to find anything in the support archives so I was hoping you could help us out.1)Freesurfer version: freesurfer-linux-ubuntu20_x86_64-7.4.1-20230614-7eb84602)Platform: Ubuntu 20.04.6 LTS3)recon-all.log: see attachedThanks for any help you can provide!_______________________________________________Freesurfer mailing listfreesur...@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________ 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.