Hi,
when you are in the fitting app right click on the model you want to export:
.
then choose all options:
.
now you have the model, output and goodness in your workspace. To access the coefficients of the fitted model use:
>> coeffvals = coeffvalues(fittedmodel)
coeffvals =
0.3768 1.4162 2.3424
To get some values from the goodness (for example the R-square value) use:
>> r_square = goodness.rsquare
r_square =
0.9985
like shown here:
.
Best regards
Stephan
Best Answer