Can I disable java console output when using javaMethod?

조회 수: 3(최근 30일)
Rafael Rodríguez
Rafael Rodríguez 2016년 4월 11일
답변: Malcolm Lidierth 2016년 5월 3일
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.

답변(1개)

Malcolm Lidierth
Malcolm Lidierth 2016년 5월 3일
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!

Translated by