The is for macOS ARM.  


MATLAB and no JDK

Note:  Matlab 24.2 and up, should be allowed in  privacy & security > 

Files & Folders.  Otherwise matlab will just quit or appear to be wedged.


============================================================

MACOS - ARM

============================================================

The instructions are meant to be done within a shell with root privileges.   We assume to start you have

done    sudo su - root    to acquire a root shell. 


#: Install matlab - mac arm

#: ==========================

#: arm version - 25.2 and up

#: Put binaries in your path.

#: The symlinks use the fact /usr/local/bin  is in user path.


ver=25.2

curl https://www.cns.nyu.edu/mac/matlab$ver-arm.tgz | tar xz -C /Applications


ln -s /Applications/MATLAB$ver.app /usr/local/matlab$ver

mkdir /usr/local/bin

cd /usr/local/bin

ln -s ../matlab$ver/bin/matlab matlab$ver



#: Do this once  [optional]

#: ===============

#: set the default matlab binaries 

def=25.2

cd /usr/local

ln -s matlab$def matlab

cd /usr/local/bin

ln -s ../matlab/bin/matlab