Dear Freesurfer,
I am trying to call some of the freesurfer commands like: mri_coreg or some other. When I use the something like the following in Matlab:
command='/Applications/freesurfer/bin/mri_coreg'
and the below:
[status,cmdout]=system(command)
It is showing a weird error message like below:
###########################################
dyld: lazy symbol binding failed: Symbol not found: ___emutls_get_address
Referenced from: /Applications/freesurfer/bin/../lib/gcc/lib/libgomp.1.dylib
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ___emutls_get_address
Referenced from: /Applications/freesurfer/bin/../lib/gcc/lib/libgomp.1.dylib
Expected in: /usr/lib/libSystem.B.dylib
###########################################
I really don't understand why this error is coming. I have seen people have used the mri_*** commands a lot of times in matlab but unfortunately, it shows the above error in my case.
Is it the error from Matlab, freesurfer, mac or something else?
Any help in solving this issue will be greatly appreciated.
Thank you.