External Email - Use Caution
You can try using the fs_install_mcr script to install the matlab runtime environment instead of using a generic or full install of Matlab on the machine. Below the PATH to FREESRUFER_HOME is listed as /Applications/freesurfer/7.4.1, but you should change it to be whatever you installed on your machine. The 7.4.1 release was tested with R2019b
$ export FREESURFER_HOME=/Applications/freesurfer/7.4.1
$ source $FREESURFER_HOME/SetUpFreeSurfer.sh
<... output showing SUBJECTS_DIR and other environment variables>
$ cd $FREESURFER_HOME/bin
$ sudo FREESURFER_HOME=$FREESURFER_HOME ./fs_install_mcr R2019b
I think that sets things up so the libmwm* libraries are in the freesurfer tree under the path, $FREESURFER_HOME/MCRv97/bin/glnxa64.- but you should check that path.
Then you can try adding the path you verified, e.g., $FREESURFER_HOME/MCRv97/bin/glnxa64, to the head of LD_LIBRARY_PATH and remove any other entries to a different MATLAB distribution.
- R..
On Sep 26, 2023, at 18:13, Alan Francis <alandarkenergy(a)gmail.com> wrote: External Email - Use Caution Hi All :I just bought a 2023 MAC PRO with an M2 Ultra Chip for my lab. It's running macOS Ventura. I have installed MATLAB on it but it refuses to run in a terminal or from the Applications folder.MATLAB runs perfectly fine on my other Linux machines.The MATLAB website has very little, if outdated, help.Have any of you encountered this problem?Thanks,Alan-- |~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|Alan N. Francis PhDAssistant Professor of NeuroscienceInstitute of NeuroscienceUniversity of Texas, School of MedicineRio Grande ValleyTexas. _______________________________________________Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer