This change has been incorporated into the documentation in Release 14 Service Pack 3 (R14SP3). For previous releases, read below for any additional information:
The SURFDIST function was moved to a private directory in R14 and restored to a public directory in R14SP3. For some applications, you can use TRACKG in place of SURFDIST.
If you are using Mapping Toolbox 2.0.2 (R14) or Mapping Toolbox 2.0.3 (R14SP1), SURFDIST is still available. In order to access SURFDIST, perform the following steps:
1. Find surfdist.m in the following directory:
$MATLAB\toolbox\map\mapdisp\private
(where $MATLAB is the MATLAB root directory on your machine, as returned by typing
at the MATLAB command prompt.)
2. Move surfdist.m to the following directory:
$MATLAB\toolbox\map\mapdisp
(where $MATLAB is the MATLAB root directory on your machine, as returned by typing
at the MATLAB command prompt.)
3. Restart MATLAB
4. After restarting MATLAB, issue the following command at the MATLAB prompt:
SURFDIST should now be accessible.
Best Answer