MATLAB Answers

Coulomb 3.3 Build input from CMT or focal mech. data

29 views (last 30 days)
Hello,
I am using Coulomb 3.3. When I try to use the option "Build input from CMT or focal mech. data" I have the next errors:
Unrecognized function or variable 'deg2utm'.
Error in distance2 (line 15)
[x1,y1,utmzone1] = deg2utm(lat1,lon1);
Error in utm_window>pushbutton_calc_Callback (line 273)
[xdist,flag1] = distance2(pcent_lat,MIN_LON,pcent_lat,MAX_LON);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in utm_window (line 20)
gui_mainfcn(gui_State, varargin{:});
Error using main_menu_window>menu_new_map_Callback (line 167)
Error while evaluating UIControl Callback.
I am using the 3.3.01 version. I downloaded it from USGS.
¿Is it a Coulomb or a Matlab problem? ¿Can someone help me?
Thank you!!!!
Isabel

Answers (1)

Aghamarsh Varanasi
Aghamarsh Varanasi on 25 Jan 2021
Edited: Aghamarsh Varanasi on 25 Jan 2021
Hi,
The Function 'deg2utm' is in a folder names "resources". Starting in MATLAB R2019a, the "resources" folder is a reserved folder, and folders with the name "resources" are not allowed on the MATLAB path.
As a workaround you can rename the folder "resources" to another name and add it to the MATLAB path. This would eliminate the error that you recieved.
For further details please refer to the "Functionality being changed or removed" under "Language and Programming" section of the MATLAB R2019a Release Notes
  2 Comments
ISABEL CRISTINA GOMEZ GUTIERREZ
Hi,
I already installed the M2018b. Coulomb is running perfectly.
Thank you!!!!
Isabel

Sign in to comment.

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by