Can I disable java console output when using javaMethod?

3 views (last 30 days)
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.

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!