Possible duplicate:
Suppressing Function Command Window Output
Suppress output
Is there any way to "disable" the output of the matlab function? In other words, if a function generates some displayed text in the command window, is there a way to run it in silent mode, where the output is suppressed?
In my case, I use a third-party function iteratively, which displays a lot of text, and I want to find a way to suppress this text without changing the function itself. I think there should be some kind of wrapper function, such as quiet(thirdpartyFunction) , that gives this behavior. Or is it wishful thinking?
source share