Skip to content

Instantly share code, notes, and snippets.

@kahlos
kahlos / matlab-silent-install.sh
Last active June 23, 2020 14:50
MATLAB silent install script
# Script to silently install MATLAB components, run as root if installing to /opt
# Requires: `license.lic`, `packages` list and `file-install-key` files
# Download license.lic and create file-install-key file from [MATLAB license centre](https://uk.mathworks.com/licensecenter/licenses)
# Download and extract latest [MATLAB installer](https://uk.mathworks.com/downloads/)
# Download packages `archive` files by running installer graphically first
# Make a package list, uncommenting lines from installer_input, `tail -87 installer_input.txt > packages`
# Check destination directories are correct below
# Destination, MATLAB installer and config files directory