MATLAB Answers

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

3 views (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

  1 Comment

Peter McColgan
Peter McColgan on 27 Oct 2016
Thank you so much, this is exactly what I was looking for!

Sign in to comment.

Accepted Answer

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

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.