MATLAB: How does the MATLAB Web Server interact with the MATLAB network license server

licenseMATLABMATLAB Web ServerNetworkserverweb

How does the MATLAB Web Server interact with the MATLAB network license server?
I have a question on MATLAB Web Server and its interaction with a MATLAB network license server. The question is this: When Web Server is invoked, and a key is checked out, how long does the key stay checked out? Is it checked out only while a web script is being evaluated, or does it remain checked out as long as Web Server itself is running?

Best Answer

The MATLAB Web Server requires a license key for the entire duration it is running. That is, after the MATLAB Web Server is started, it checks out a license key and the key is not released until it is stopped. However, this would not represent a problem since the MATLAB Web Server can serve multiple requests from clients (web browsers) and the only limitation is the amount of memory available on the server machine.