I'm using some third-party package on MATLAB for data analysis. It was compiled using C#, but by default it displayed the results. I want to suppress this display, but should modify the C codes to achieve this. As I'm not familiar with C# and thus it troubles me to re-compile the modified codes, I wonder whether there is a general way to suppress the display in MATLAB as it has provided a way for each built-in function.
Edit:
@bushmills is correct. The function evalc
suggested in this thread works. But it can significantly slow down the computation. Is there a better way, for example, declare warning('off',msgid)
at the beginning, to suppress display in current function?
Thanks.