Suppress Academic license notification

5 visualizaciones (últimos 30 días)
Leo Simon
Leo Simon el 22 de Mzo. de 2015
Editada: Leo Simon el 9 de Sept. de 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!

Respuesta aceptada

Guillaume
Guillaume el 23 de Mzo. de 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.

Más respuestas (5)

Leo Simon
Leo Simon el 9 de Sept. de 2016
Editada: Leo Simon el 9 de Sept. de 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 el 23 de Mzo. de 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 el 23 de Mzo. de 2015
After I run my startup script, it announces
Academic License
and then the >> prompt.

Leo Simon
Leo Simon el 23 de Mzo. de 2015
clc clears the screen before printing the reminder, but indeed, not a big deal, thanks!
  1 comentario
Guillaume
Guillaume el 23 de Mzo. de 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.

Iniciar sesión para comentar.


Kyrian Staman
Kyrian Staman el 9 de Sept. de 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 comentario
Andreas Goser
Andreas Goser el 9 de Sept. de 2016
Beside this sounds not like something MathWorks is supportive in you doing - why would you be interested in doing it?

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by