Undefined function fit

Problem

Runtime error: "Failed While Running Modules - Undefined function fit for input arguments of type double."


Solution

This error is caused by a software dependency: the Curve Fitting Toolbox for MATLAB must be installed for the 'fit' (fit curve or surface to data) function to work.



Please follow the steps listed here to install the Curve Fitting Toolbox: How to Install a MATLAB Toolbox


Version Information

ABC Tracker has been tested to work with Curve Fitting Toolbox version 3.5.3 or later.


Technical Details

ABC Tracker performs "Tracklet Smoothing," which involves matching the location of objects to a curved path. Some features of the Curve Fitting Toolbox by Mathworks are used for this operation.