Matlab should generally be installed NOT using
Upon upgrading operating system, or if you installed Matlab on a laptop using a docking station, and then run off the docking station, Matlab may complain about a changed host ID.
Fix Matlab network license
This procedure is for where Matlab is already installed, but won’t open the desktop due to a licensing error.
Start Matlab activation:
$(dirname $(realpath $(which matlab)))/activate_matlab.sh
get Host ID
Assuming it’s a laptop with permanently installed WiFi (as most laptops have), use your WiFi MAC/host ID, obtained via:
look for the WiFi
link/ether hexadecimal value.
If connected to the internet via WiFi, you can confirm the correct device by comparing the value for
Install to your home directory and do NOT use
Make a directory for Matlab installs
Start the Matlab install NOT as root or sudo
Install to like
Activate via Internet and sign in to select the license key