diary(job) displays the Command Window
output from the batch job in the MATLAB® Command Window. The Command Window output is captured only if the batch command included the 'CaptureDiary' argument with a
value of true.
diary(job,filename)
appends the Command Window output from the batch job to the specified file.
The captured Command Window output includes only the output generated by execution of
the task function. This function does not capture output from code that runs
asynchronously from the task.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.