How do you print output of fitlme to a text file?

I have run a mixed linear model using fitlme. I want to write all of the output printed in the workspace when typing lme to a text file.
How can I do this?
Thanks
Peter

 Risposta accettata

Use the diary command. Example:
diary('lmeDetails.txt')
lme
diary off

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by