I have successfully borrowed a license in Matlab 2018. I cannot however change the number of days the licenses is borrowed for other than the default 1 day. the borrow time in the license file is 720 hours (30 days).
MATLAB: Users can’t change the number of days to borrow a license
borrowMATLAB
Related Solutions
To improve license mobility, license borrowing can be enabled for network licenses. License borrowing allows users to run MATLAB and other MathWorks products on computers that do not have a continuous connection to the license server. This article will provide information on:
- How to Enable License Borrowing
- Limitations of License Borrowing
- Interoperability with Previous Releases
How to Enable License Borrowing
To enable license borrowing, a License Administrator must contact MathWorks Installation and Licensing Support:
Once it is enabled, the license file on the license server must updated to include borrowing, the instructions for this are in the link below:
After you have implemented the borrow-enabled license file on the server, MATLAB users can enable the borrowing interface in MATLAB. For instructions on how to do this, please see the following support article:
How do I use the License Borrowing UI to borrow licenses from within MATLAB (as of R2009b or later)?
For more information download the PDF at the bottom of the page.
For a full copy of the license borrowing documentation see the link below:http://mathworks.com/help/install/license/borrow-licenses.html
Limitations of License Borrowing
- Borrowing is only available for Commercial and Non-Degree Granting Education licenses.
- Borrowing is available for Network Concurrent and Network Named User licenses.
- Borrowing is not available for Polyspace R2019a and later.
- To enable borrowing for a Network Named User license, an Installation and Licensing Support Technician must first verify that borrowing is supported in your environment.
- Licenses can be borrowed for a maximum of 30 days.
- Borrowing is only available for MATLAB R14 or later.
- Borrowing is only available for license servers running FLEXnet v9.2 or later.
- Network Named User licenses require FLEXnet v11.6.1 or later.
- MathWorks products must be installed on client systems. This configuration is called local client access in the MathWorks install documentation.
Interoperability with Previous Releases
When using a License File that supports license borrowing, you can only use license borrowing with Release 14 products or later. You can run Release 13 products but you cannot check out a borrowed license for these products. You cannot check out or run Release 12 (and earlier) products.
For borrowing to work for Network Named User licenses, you must be running the network license manager shipped with MATLAB R2009b or a newer version of MATLAB (FlexNet 11.6.1 or higher).
Also, please review the other limitations and configuration steps:
- The standard issues with Concurrent Borrowing apply to Network Named User borrowing as well (see license administration guide section on borrowing):
- You need to add INCLUDE_BORROW lines to the options file for the borrowing GUI to work:
If you are running a new enough license manager version and are comfortable with the limitations described above, please contact the installation and licensing support team to enable Network Named User Borrowing on the license:
Best Answer