redirect terminal output to file
조회 수: 146 (최근 30일)
이전 댓글 표시
I have a commercial solver that I use in Matlab. It internally prints information to the Matlab terminal and I have no control over it. I want to redirect the output to a text file instead. What is the best way to do this? Pretty sure fprintf won't help me.
댓글 수: 1
Oleg Komarov
2012년 5월 22일
Why not? Also, your question is too vague. What is a commercial solver that you use IN Matlab? A function?
채택된 답변
Walter Roberson
2012년 5월 22일
댓글 수: 2
Sanjay Manohar
2020년 1월 16일
Good answer. But: Is there also any way to actually redirect - i.e. to stop output to the console at the same time?
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Entering Commands에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!