Open socm12 opened 5 years ago
Yeah, apologies the seizmo available on github is very borked with recent Matlab versions. I hope to upload a fixed version soon.
Thanks for reporting - didn't know Matlab sucked in my vecnorm function (too bad they modified the input order so I'll have to delete mine and alter the calls in seizmo).
Firstly, Thanks for your to provide this code. When I add SEIZMO to dynamic path of MATLAB (2019a) at Ubuntu 18.04 with startup_seizmo.m, there are two warnings as follows:
Warning: Function isstring has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
In path (line 109) In addpath (line 86) In startup_seizmo (line 21) Warning: Function vecnorm has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. In path (line 109) In addpath (line 86) In startup_seizmo (line 21)
Actually, they will induce fatal error.
I slove this problem as follows:
grep isstring -rl ./
sed -i "s/vecnorm/vec_norm/g" grep vecnorm -rl ./
I hope this information is useful for the SEIZMO users. Thanks again for you.
Another two update in setup_seizmo.bash are as follows: line 40-42: wget ftp://ftp.soest.hawaii.edu/gmt/gshhg-gmt-2.3.7.tar.gz tar axvf gshhg-gmt-2.3.7.tar.gz mv gshhg-gmt-2.3.7.tar.gz ..
line 57: mv master.zip export_fig.zip
Dears I am trying to install seizmo on MATLAB 2015A (8.5.XXXX) 32bit, but many errors comes and I don't know what to do, the following comes upon running install_seizmo.m :
install_seizmo Renaming SEIZMO's top level directory to "seizmo" Warning: Unknown error occurred. In install_seizmo (line 112) Warning: SEIZMO's top directory must be named "seizmo" for commands like "help seizmo" and "ver seizmo" to work! In install_seizmo (line 113) ################################################################## ################## STARTING SEIZMO INSTALLATION ################## ################################################################## Checking what application we are installing SEIZMO in... Application: MATLAB Version : 8.5 SEIZMO install path: C:\Program Files\MATLAB\MATLAB Production Server\seizmo-master Install TauP (<1MB)? Y/N [Y]: y Getting TauP-2.1.1.jar Warning: Control Character '\P' is not valid. See 'doc sprintf' for control characters valid in the format string. In webinstall_taup (line 150) In install_seizmo (line 222) In install_seizmo (line 120) Warning: Error using webinstall_taup (line 150) In install_seizmo (line 222) In install_seizmo (line 120) Install IRISWS (<1MB)? Y/N [Y]: y Getting IRIS-WS-2.0.6.jar Warning: Control Character '\P' is not valid. See 'doc sprintf' for control characters valid in the format string. In webinstall_irisws (line 137) In install_seizmo (line 226) In install_seizmo (line 120) Warning: Error using webinstall_irisws (line 137) In install_seizmo (line 226) In install_seizmo (line 120) Install njTBX (30MB)? Y/N [Y]: y Error using mkdir Access is denied. Error in webinstall_njtbx (line 60) if(~exist(mypath,'dir')); mkdir(mypath); end
Error in install_seizmo (line 230) ok=ok & webinstall_njtbx; Error in install_seizmo (line 120) ok=install_seizmo(false);
Please assist me for solving this issue
Hey While trying to install seizmo using matlab2018b I had the following:
Warning: Function isstring has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
In path (line 109) In addpath (line 86) In install_seizmo (line 167) In install_seizmo (line 120) Warning: Function vecnorm has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. In path (line 109) In addpath (line 86) In install_seizmo (line 167) In install_seizmo (line 120) Error using savepath>iSystemMovefile (line 299) COMMAND must be a text scalar.
Error in savepath (line 210) iSystemMovefile( tempfilename, outputfile );
Error in install_seizmo (line 213) ok=ok & ~savepath;
Error in install_seizmo (line 120)
During installation MATLAB version 9.3.0 (R2017B)
################################################################## Checking what application we are installing SEIZMO in... Application: MATLAB Version : 9.3 SEIZMO install path: F:\MATLAB\seizmo Warning: Function isstring has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Error in savepath (line 40) templatefile = fullfile(matlabroot, 'toolbox', 'local', 'template', 'pathdef.m');
Error in install_seizmo (line 213) ok=ok & ~savepath;
Error in install_seizmo (line 120)