Add preprocessor messages (stdout, stderr) to the logfile
Currently these messages are not in the logfile, and can be lost if MATLAB creates too much output.
Currently these messages are not in the logfile, and can be lost if MATLAB creates too much output.