Slient installation of MATLAB with a license file
Show older comments
Hi all, thank you for taking the time to read my query.
I am trying to deploy MATLAB at scale. My requirements are that I can sliently install MATLAB with the full toolkit and have it point to our license server automatically. Currently I am at a state where I can deploy the product but not license it, launching will ask for a login / activation. My last attempt a few months ago I had looked into configuring the installer_input.txt file, which points to a pre-staged folder containing license.lic (licensePath=C:\PATHTOLICENSE), and agrees to the license. I also attempted to put our File Instalation Key in this .txt file, but it still seems to ignore any of these values.
My script pre-stages the license file in an accessible directory, then performs the slient install (setup.exe -inputFile installer_input.txt).
Has anyone had success with deploying MATLAB at scale? I have around 100 client upgrades to perform.
Answers (1)
Ivy
on 3 Mar 2026
1 vote
Is this a network license, ie Concurrent/NNU?
If so, you need the network.lic and not license.lic (which I assume is the raw file you downloaded from the License Center), since this is an upgrade, you can get the network.lic from the currently-installed MATLAB release (<MATLAB root>/licenses/network.lic) and use it also.
Otherwise, you might want to reach out to MathWorks support and provide the license info, they should be able to provide more detailed instructions.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!