Suppressing a function’s command window output

You might try wrapping the call to the function in an evalc:

evalc('out = func(arg1, arg2);');

Leave a Comment