redirect terminal output to file
133 次查看(过去 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!