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

2 vues (au cours des 30 derniers jours)
Lucas-Raphael Müller
Lucas-Raphael Müller le 14 Nov 2015
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

Réponses (1)

Walter Roberson
Walter Roberson le 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.)

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by