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

1 view (last 30 days)
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

Accepted Answer

Swarooph
Swarooph on 27 Oct 2016
Use the diary command. Example:
diary('lmeDetails.txt')
lme
diary off

More Answers (0)

Categories

Find more on Scope Variables and Generate Names in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!