Coulomb 3.3 Build input from CMT or focal mech. data
5 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Aghamarsh Varanasi
2021-1-25
编辑:Aghamarsh Varanasi
2021-1-25
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!