Is there a Matlab command to check the expiration date of my license?

121 views (last 30 days)
I'd like to follow the expiration date of my Matlab license from within Matlab. Is there a Matlab command to check the expiration date of my license?
  2 Comments
Walter Roberson
Walter Roberson on 25 Jul 2024
To confirm:
You have a time-limited MATLAB license and you want to know when it ends?
... As opposed to asking when SMS expires for the license?
Marc
Marc on 25 Jul 2024
What is SMS? Is this the maintenance period?
Unfrotunately, we have Matlab's ELA (enterprise limiting access). So my license expires on a near yearly basis (keeps Mathworks in the $$$). What I would like is to have a quick way to check if the license is near ending.
Thanks

Sign in to comment.

Answers (1)

Hassaan
Hassaan on 25 Jul 2024
For a more direct method that works in most cases:
  1. Open MATLAB.
  2. Go to the Home tab.
  3. Click on Help > Licensing > Manage Licenses.
  4. Click on Help > Licensing > Update Current Licenses.
  3 Comments
Steven Lord
Steven Lord on 25 Jul 2024
I believe the answer to your question is no, but I'm not completely certain. I would have said that you could try using the system function to call the command-line utilities for querying license information, but I'm not sure if the type of license you're using requires you to install those utilities.
You should contact Customer Service directly and ask if there is a way, given the specific details behind the license you're using, if there is a way to obtain that information. If there isn't you could also ask them to file an enhancement request for a way to obtain this information from within MATLAB.
But if your concern is about your license expiring without you realizing it, I believe that for some period of time before your license actually expires (at least 2 weeks, perhaps a month) MATLAB will display a message on startup indicating that your MATLAB license will expire in a certain amount of time.
Marc
Marc on 26 Jul 2024
Thanks. I'll contact Customer Service. I need more than the default time to obtain a new license. So unless I can set date/timeframe for this expiration message, then it would help if I could write some quick code to check this.

Sign in to comment.

Categories

Find more on Manage Products 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!