Hi Justina,
It looks like the matlab installer is trying to use unzip but it can't find it.
Can you try running: `sudo apt-get install unzip`
To install unzip then try the matlab installer again?
-Paul ________________________________ From: freesurfer-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu on behalf of You Na Lee justinalee56@gmail.com Sent: Tuesday, September 13, 2022 9:01 AM To: freesurfer@nmr.mgh.harvard.edu freesurfer@nmr.mgh.harvard.edu Subject: [Freesurfer] Freesurfer: fs_install_mcr: Unzip command not found
External Email - Use Caution
To whom it may concern,
Apologies for my first post, I was a little bit confounded as to how I can reach for help.
I would like to use the segmentation of hippocampal subfields and the nuclei of the amygdala. Currently, I am working with Ubuntu on windows with Freesurfer 7.3.2.
I am trying to install MATLAB Runtime 2019b to run the command segmentHA_T1.sh for the segmentation as described above. The following command shows the corresponding error:
ylee6@LAPTOP-63HA9ANS: /usr/local/freesurfer/7.3.2/bin$ fs_install_mcr R2019b
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2657M 100 2657M 0 0 10.0M 0 0:04:25 0:04:25 --:--:-- 10.1M
/usr/local/freesurfer/7.3.2/bin/fs_install_mcr: line 62: unzip: command not found
I am currently struggling to find the solution to this issue. Is the installation not in the correct path? Is MATLAB Runtime installed at all? Should an already existing matlab file be deleted? Any help would be much appreciated.
Sincerely,
Justina