redirect terminal output to file
133 views (last 30 days)
Show older comments
Edward Umpfenbach
on 22 May 2012
Edited: Paul Wintz
on 5 Oct 2021
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 Comment
Oleg Komarov
on 22 May 2012
Why not? Also, your question is too vague. What is a commercial solver that you use IN Matlab? A function?
Accepted Answer
Walter Roberson
on 22 May 2012
2 Comments
Sanjay Manohar
on 16 Jan 2020
Good answer. But: Is there also any way to actually redirect - i.e. to stop output to the console at the same time?
More Answers (1)
See Also
Categories
Find more on Entering Commands 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!