MATLAB: About Coulomb 3.4 software

coulomb deformation software

Hello,
I am using Coulomb 3.4 software with Matlab. However some of the function are not working and gives that error messages.
Undefined function 'deg2km' for input arguments of type 'double'.
Error in utm_window>pushbutton_calc_Callback (line 266) xdist = deg2km(xdeg);
Error in gui_mainfcn (line 96) feval(varargin{:});
Error in utm_window (line 20) gui_mainfcn(gui_State, varargin{:});
Error using waitfor Error while evaluating uicontrol Callback
How can I run this function?
Thanks, Ruken

Best Answer

Ruken - the function deg2km is part of the Mapping Toolbox. Do you have it? In the Command Window type
ver
to check your version of MATLAB and which toolboxes you have installed. If you do have this toolbox, type the following
which -all deg2km
to find where in your MATLAAB search path this function can be found.
Related Question