Can I issue a command to see when my license expires?

52 visualizaciones (últimos 30 días)
Lucy Upchurch
Lucy Upchurch el 29 de Ag. de 2018
Comentada: Jan el 21 de Abr. de 2021
I have installed my new license for my network license for my license # *** for a distributed license. I have started it. I would like to verify that matlab is using it. I have restarted the license file. How can I tell when the license expires in matlab? Thanks.
  3 comentarios
Rik
Rik el 20 de Abr. de 2021
@Smith Buy, What is offensive about this comment? It is simply stating Andreas inteded to replace the actual license number with ***.
Jan
Jan el 21 de Abr. de 2021
@Smith Buy: No, this is not offensive. "***" means stars here, not an expression which has been censored. Therefore I remove your flag.
@Rik: There have been several flags and comments in the last weeks claiming, that other messages are rude. The persons did not contribute anything else in this forum before. Is this a fashion?

Iniciar sesión para comentar.

Respuestas (3)

Aquatris
Aquatris el 29 de Ag. de 2018
If you want to check the currently used license number, try using the command;
license

Andreas Goser
Andreas Goser el 31 de Ag. de 2018
Your question relates to MATLAB Distributed Computing Server license. I am not sure who to interpret your question. Are you an IT person and being concerned the whole product is set up correctly and you speculate there is an issue with the license management? Or are you an end user, not knowing whether your computations successfully running on the server?

Lucy Upchurch
Lucy Upchurch el 31 de Ag. de 2018
Apparently there is no way to see how many days you have left on new license installation. I received this info from matlab support. Yes, I am an IT person.
  1 comentario
Andreas Goser
Andreas Goser el 31 de Ag. de 2018
I see. So it is about the expiration date of an annual license. While the installation support rep correctly stated there is no command / option for that available, it is still possible. Let me describe the idea - you may find a MATLAB-savy student who can code this within one hour.
  • In the license file, the is an expiry date hard coded. Syntax example: INCREMENT MATLAB MLM 38 30-sep-2024
  • You can read the license file with commands like "textread" into MATLAB
  • You can parse the text using regular expressions ('regexp') to isolate the date
  • You can run the resulting command of the couple of lines of code from the idea above during startup using startup.m

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2015b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by