Suppress Academic license notification

조회 수: 3 (최근 30일)
Leo Simon
Leo Simon 2015년 3월 22일
편집: Leo Simon 2016년 9월 9일
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!

채택된 답변

Guillaume
Guillaume 2015년 3월 23일
@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.

추가 답변 (5개)

Leo Simon
Leo Simon 2016년 9월 9일
편집: Leo Simon 2016년 9월 9일

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 2015년 3월 23일
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 2015년 3월 23일
After I run my startup script, it announces
Academic License
and then the >> prompt.

Leo Simon
Leo Simon 2015년 3월 23일
clc clears the screen before printing the reminder, but indeed, not a big deal, thanks!
  댓글 수: 1
Guillaume
Guillaume 2015년 3월 23일
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.

댓글을 달려면 로그인하십시오.


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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by