You can suppress the output using evalc, but this requires you to pass your expression in as a string. For instance if you were using:
[A,B,C] = notMyFunction(d,e,f);
You can use instead
[T,A,B,C] = evalc('notMyFunction(d,e,f);');
And any output that would have gone to the console will now be buffered and stored in T
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…