Documentation Center    • Trial Software   • Product Updates
Curve and Surface Fitting Objects and Methods  This section
describes how to use Curve Fitting Toolbox™ functions from the
command-line or to write programs for curve and surface fitting
applications.  The Curve Fitting app allows convenient,
interactive use of Curve Fitting Toolbox functions, without
programming. You can, however, access Curve Fitting Toolbox
functions directly, and write programs that combine curve
fitting functions with MATLAB® functions and functions from
other toolboxes. This allows you to create a curve fitting
environment that is precisely suited to your needs.  Models and
fits in the Curve Fitting app are managed internally as curve
fitting objects. Objects are manipulated through a variety of
functions called methods. You can create curve fitting objects,
and apply curve fitting methods, outside of the Curve Fitting
app.  Curve Fitting Objects  In MATLAB programming, all
workspace variables are objects of a particular clas