Use this procedure when you want to connect MATLAB® running on the cloud to an existing network license manager running on a license server.
This procedure consists of setting up the license server and setting up MATLAB.
Follow these recommendations when installing the network license manager:
Do not expose the commands to run the network license manager to the Internet or an untrusted network.
Start the network license manager so that local administrator access is required to run the shutdown procedure. See the procedure in Start Network License Manager.
Make the server modifications.
On the on-premises license server, you must have a secure connection
enabled so that the cloud machine with MATLAB can communicate with the on-premises server. Use a VPN or
direct connect and make sure that the server port is open. The license
manager may be running on any port between 27000-27009, or on a specific
port that is specified on the
SERVER line in the
network.lic file, edit the
DAEMON line to include a port number. Make sure that
port is also opened.
Contact Support if you require additional assistance. Otherwise, go on to the next step.
Disable online licensing.
On the client machine, find
license_info.xml and rename
it to something else. License files are generally located in
the MATLAB root.
Create license file that points to the server.
Open the network license file (
SERVER line into a new text
Beneath it, add
USE_SERVER. The file should now
look something like this:
SERVER Server1 0123abcd0123 12345 USE_SERVER
Save the new text file as
network.lic in folder
$MATLAB is your MATLAB root.
Verify that the license is pointing to the server correctly by running MATLAB.
You have completed this procedure. Contact Support if you require additional assistance.