MATLAB Help Center
Display or save Command Window text of batch job
diary(job)
diary(job,filename)
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.
job
batch
'CaptureDiary'
true
diary(job,filename) appends the Command Window output from the batch job to the specified file.
filename
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.
collapse all
parallel.Job
Batch job, specified as a parallel.Job object.
Name of file to append with Command Window output text from batch job, specified as a string.
Introduced in R2008a
diary | batch | load
diary
load
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
Europa
Asia-Pacifico
Contatta l’ufficio locale