MATLAB Answers

Suppress Academic license notification

3 views (last 30 days)
Leo Simon
Leo Simon on 22 Mar 2015
Edited: Leo Simon on 9 Sep 2016
I know this is trivial in the grand scheme of things, but I'd love to remove the notification everytime I start matlab R15a that I have an academic license. This seems to be a new innovation since 14b, and not an improvement. Is it possible to suppress the notification? Most people probably don't need reminding after at most 100 repititions... Thanks!

Accepted Answer

Guillaume
Guillaume on 23 Mar 2015
@Andreas, as of 2015a, Matlab prints Academic License at the top of the command window before the first prompt. That's the only reminder you get for the rest of the session, so not a big deal.
@Leo, just put clc at the end of your startup.m. I'm sure it was a very conscious decision by Mathwork, so I doubt they're going to remove it.

More Answers (5)

Leo Simon
Leo Simon on 9 Sep 2016
Edited: Leo Simon on 9 Sep 2016

As root, edit the file

$MATLABPATH/resources/MATLAB/en/branding.xml

(Better back it up first! I forgot to)

Change the line

 <entry key="ACADEMIC_CMD_WINDOW_STR" translate="false">\n\tAcademic License\n\n</entry>

to

 <entry key="ACADEMIC_CMD_WINDOW_STR" translate="false"></entry>

Don't delete the line or else matlab will crash

You can also get rid of the irritating first two lines about getting started and product information by editing

$MATLABPATH/resources/MATLAB/en/matlabrc.xml

and changing the lines

    <entry key="ProductInformationMessage">  For product information, visit www.mathworks.com.</entry>
    <entry key="ToGetStartedMessage">  To get started, type one of these: helpwin, helpdesk, or demo.</entry>

to

    <entry key="ProductInformationMessage"></entry>
    <entry key="ToGetStartedMessage"></entry>

Again, don't just delete the lines


Andreas Goser
Andreas Goser on 23 Mar 2015
I only know about the "EDU>>" prompt, but this is the Student Version, not the academic license. Can you share what exactly you get?

Leo Simon
Leo Simon on 23 Mar 2015
After I run my startup script, it announces
Academic License
and then the >> prompt.

Leo Simon
Leo Simon on 23 Mar 2015
clc clears the screen before printing the reminder, but indeed, not a big deal, thanks!
  1 Comment
Guillaume
Guillaume on 23 Mar 2015
Oh, yes indeed. I must have clicked on the R2014b shortcut when I tested.
I don't think there's a way to suppress it then. Probably, on purpose.

Sign in to comment.


Kyrian Staman
Kyrian Staman on 9 Sep 2016
I know I once removed this message by changing some xml (I think) file that is called at matlab startup. I had found this information online, but for the love of me I can't seem to find it again and currently know no easy way of checking what file I changed. If anyone finds this topic online again or knows a way for me to find what file I changed, I'm all ears.
  1 Comment
Andreas Goser
Andreas Goser on 9 Sep 2016
Beside this sounds not like something MathWorks is supportive in you doing - why would you be interested in doing it?

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!