Looking to see if it is possible to capture partial output from evalc if it never returns. Consider:
str = evalc('disp(''HERE''); error(''something bad happened''); disp(''NOW HERE'')');
In the catch block, the variable "str" is not defined because evalc never returned. However, just before the error, we would've seen "HERE" displayed using plain "eval". Is there any way to get that information in the catch block with evalc?