Can i make a personalized license warning message?

1 visualización (últimos 30 días)
David Hernandez
David Hernandez el 14 de Jun. de 2018
Respondida: OCDER el 14 de Jun. de 2018
We have a large ammount of Matlab users and we are near to renew our licenes. Users are receiving the following warning:
Your MATLAB license will expire in xx days.
Please contact your system administrator or
MathWorks to renew this license.
Is there a way we can modify the message to advice users that IT team will renew licenses in XX days? We would like to avoid users calling us all the time.
Thanks for your help.

Respuestas (1)

OCDER
OCDER el 14 de Jun. de 2018
You could place a startup.m file in the matlab path or the userpath (ex: 'C:\Users\usr121\Documents\MATLAB\startup.m'). The contents of the startup.m file could be something like these:
%startup.m
disp('The IT team will renew license soon! Ignore the following Matlab warning messages!!!')
I'm not sure if the maltab warning that's a true warning type or a fprintf type. If the former and there's a warning message id (which is obtainable using [~, MSGID] = lastwarn ), then you could add this to the startup.m file:
warning off MSGID

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by