How can I print all the fit-stuff (of cftool) under my plot?

2 views (last 30 days)
I'm asking how to print all the fitting-stuff under a figure. I know how to place a text under a figure, but I don't know how to call the outcome of "fittedmodel" and "goodness". I thought of a workaround to just use the console output, but I don't know whether and how I can use it.
I've attached a file where I did it manually in Adobe Acrobat (just copy and pasted the console output).
It'd be nice if there was a solution which is suitable for lot's of different fits with no or little modification only :)
Cheers

Answers (1)

Walter Roberson
Walter Roberson on 15 Nov 2015
If you need to you could run the function using evalc(): the return value would then include all of the output text (as a single string that includes newlines.)

Community Treasure Hunt

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

Start Hunting!