Can i make a personalized license warning message?
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
OCDER
on 14 Jun 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
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing 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!