Install Matlab on Linux
This procedure works for Matlab-compatible Linux systems including Ubuntu and RHEL.
Extract all files from the Matlab installer archive, and run (without sudo)
./installInstall Matlab under the user home directory since Matlab is tied to the Linux username anyway. The user may have problems updating Matlab or installing Add-On Toolboxes if Matlab is installed outside the user home directory. Install Symbolic Links to “/home/username/.local/bin/” when asked by the GUI.
Add to file ~/.profile or similar:
export PATH=$PATH:$HOME/.local/binOptional: Add links in desktop menu
Matlab can be started from Terminal:
matlabIt’s best to run non-interactive Matlab jobs (including CI) like
matlab -batch myscriptNOTE: A GUI is required for normal install
If installing Matlab remotely over SSH, use VNC (easier) or Silent install
If “click here” isn’t working for individual site license, try dragging the “click here” to the web browser address bar.
terminate called after throwing an instance of ‘std::runtime_error’ what(): Unable to launch the MATLABWindow application
try renaming libcrypto.so.1.1 under the Matlab install folder “./install again.