MATLAB Answers

Can I disable java console output when using javaMethod?

6 views (last 30 days)
Rafael Rodríguez
Rafael Rodríguez on 11 Apr 2016
Answered: Malcolm Lidierth on 3 May 2016
I call a Java method from a class with javaMethod. It is located inside a .jar file. I am getting the desired behaviour from this except that this method has a lot of console output I wish to avoid. Since disabling all these outputs would be troublesome I was wondering if there is anyway I can disable outputs from java to matlab console.

  0 Comments

Sign in to comment.

Answers (1)

Malcolm Lidierth
Malcolm Lidierth on 3 May 2016
AFAIK, no - MATLAB uses stderr and stdout. Same as Java.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!