Can I disable java console output when using javaMethod?
조회 수: 4(최근 30일)
표시 이전 댓글
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.
Malcolm Lidierth 2016년 5월 3일
AFAIK, no - MATLAB uses stderr and stdout. Same as Java.
Find more on Call Java from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!