Can I borrow licenses for a number of hours, rather than days?

Illustration
Roberson - 2024-02-15T21:16:57+00:00
Question: Can I borrow licenses for a number of hours, rather than days?

I have my options file for my License Server set using MAX_BORROW_HOURS to set a number of hours for my users to check out licenses. However, when checking out licenses in MATLAB, I notice that the timeframe is only ever set for a number of days, and I am unable to set a specific number of hours to borrow. How can I borrow licenses for a timeframe more granular than a day?    

Expert Answer

Profile picture of John Williams John Williams answered . 2025-11-20

Licenses can only be borrowed for a specified number of days. When borrowing licenses in MATLAB, the license will be borrowed until 11:59 PM of the day the license is borrowed until. For example, If I were to borrow a license for 3 days, the license will be borrowed until midnight of the day listed in the borrowing UI. It is not possible to specify a timeframe more specific than the number of days. 
 
If using MAX_BORROW_HOURS to limit the timeframe licenses can be borrowed, please add an additional 24 hours to the timeframe so licenses can be borrowed until the end of the day for the desired limit. For example, if you want to limit your users to borrow for 24 hours, set MAX_BORROW_HOURS to 48. This will allow users to borrow licenses for 2 days in the borrowing UI, which would be until midnight the next day. 


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!