redirect terminal output to file
133 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Edward Umpfenbach
am 22 Mai 2012
Bearbeitet: Paul Wintz
am 5 Okt. 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 Kommentar
Oleg Komarov
am 22 Mai 2012
Why not? Also, your question is too vague. What is a commercial solver that you use IN Matlab? A function?
Akzeptierte Antwort
Walter Roberson
am 22 Mai 2012
2 Kommentare
Sanjay Manohar
am 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?
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Entering Commands finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!