Thread: Sac-Matlab Interface

Started: 2011-04-01 20:19:11
Last activity: 2011-04-09 12:21:03
Topics: SAC Help
Elkins, Bailey E
2011-04-01 20:19:11
I'm trying to utilize SAC's Matlab interface on an Intel Mac (64 bit) machine. I am running SAC v 101.4 and MATLAB_R2010bSP1.

After I read in files I receive the following error while trying to execute the mat command:

SAC> r /Users/BMcCommon/Thesis/Data/SAC/CCW/2009.142.00.00.13.0350.Y7.CCW..ELN.D.SAC
SAC> mat
Error: dlsym(0x100710ec0, engPutArray): symbol not found
ERROR 8003: Cannot link to a MATLAB function: engPutArray
ERROR 8003: Cannot link to a MATLAB function:

Has anyone else encountered a similar problem? The Mathworks website seems to indicate that the "engPutArray" had been replaced with " engGetVariable" in the newer versions of Matlab.
(http://www.mathworks.com/matlabcentral/newsreader/view_thread/292187)

Is there anyway to fix this or do I need to downgrade my version of Matlab? I would greatly appreciate any help.

Best,

Bailey Elkins
Geophysical Engineering Department
Montana Tech
Butte, MT


  • Shutian
    2011-04-09 12:21:03

    Dear colleagues,

    We obtained some waveform records in WGSN format (in asc), which is not a popular format. We do not have a program to process those records and we did not find a program to convert them into SAC. We assembled a program and successfully converted those records into SAC (binary). We would like to know the binary format and assemble a program to convert WGSN files in binary into SAC binary. If some of you know WGSN binary format, let me know.
    Thanks in advance,
    Shutian


01:32:54 v.22510d55