Prohibit "pcg" writing to command window
Show older comments
Hello,
I got a more cosmetic question concerning matlab function "pcg" https://de.mathworks.com/help/matlab/ref/pcg.html. Is there a way to prevent a command line output from pcg after each (un)successful call? It is annoying and might even slow my program down due to the writing to the command window. Thanks in advance, Daniel
4 Comments
Geoff Hayes
on 4 Jul 2018
Daniel - you may want to post the line of code that you are using to call pcg and an example of the unsuccessful command line output from that call. Do you have a semi-colon at the end of your line of code? Do you observe particular warnings that you wish to suppress (via https://www.mathworks.com/help/matlab/matlab_prog/suppress-warnings.html)? Please clarify.
Daniel Döhring
on 4 Jul 2018
Geoff Hayes
on 5 Jul 2018
Daniel - what does the output of a successful call look like?
Daniel Döhring
on 5 Jul 2018
Accepted Answer
More Answers (0)
Categories
Find more on Logical 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!