RDSAC and MKSAC: read and write SAC seismic data file

Imports/plots and exports seismic data file in the IRIS/SAC format.

https://github.com/IPGP/sac-lib

You are now following this Submission

Matlab codes to read and write SAC seismic data file

Cite As

François Beauducel (2026). RDSAC and MKSAC: read and write SAC seismic data file (https://github.com/IPGP/sac-lib), GitHub. Retrieved .

Categories

Find more on Seismology in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.4.0.0

- mksac: major fix (date problem)
- rdsac: adds description string for enumerated header fields

1.3.0.0

- new MKSAC function to export SAC file from data.

1.2.0.0

- output alternative returning data, origin time and header.
- undefined header fields are not returned.

1.1.0.0

- works with big-endian coded files (automatic byte ordering detection)

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.