ImportGM
Version 1.1.0.0 (3.5 KB) by
BCarltonNGI
Import ground motion files to MATLAB and store data in a structure
This function imports all of the ground motion files with the specified extension (*.acc, *.txt, etc) from the specified folders and saves them in a structure called motions. It supports three formats of input files, NGA West 2 format, those with only acceleration columns, and those with one time and then one acceleration column.
Cite As
BCarltonNGI (2026). ImportGM (https://uk.mathworks.com/matlabcentral/fileexchange/54187-importgm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
