MATLAB: Silent Install MatLab R2018a Won’t Start, Asks for Activation

installationr2018a

Doing an unattended install of MatLab R2018a and it all installs fine. However, once you attempt to start MatLab it asks you to activate. I've got my license.dat file and the product key in the install_properties file and it appears in the installer so the setting is being read but it's not activating somehow. If you go and put in the same details into the activation wizard post-install it works fine so I'm not sure why it's not working during the silent install. I have an identical setup for Matlab versions going back to 2015 and haven't had this issue, from what I can see the installation method hasn't changed with 2018 according to the install guide. Any help would be appreciated.

Best Answer

Is this definately an activation issue? I had a message popping up asking to accept the matlab privacy policy.
This was down to the following option in installer properties file. Once I had set the option for enbleLNU to no, this stopped the privacy message and need to sign in to use Matlab.
## Enable Login Named User licensing
##
## Set to Yes to enable use of a Login Named User license for all users of this MATLAB installation
## Users must log in to their MathWorks Account when MATLAB starts.
##
## Example: enableLNU=yes
##
## NOTE: This flag is valid in silent installations only.
enableLNU=no