Reading gromacs gro file in MATLAB

simple code for reading gro file

You are now following this Submission

This function will read a *.gro file and extract information of atomid, molid, atomtype, x,y,z coordinates into an array in matlab.

Cite As

Sumith YD (2026). Reading gromacs gro file in MATLAB (https://uk.mathworks.com/matlabcentral/fileexchange/47975-reading-gromacs-gro-file-in-matlab), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0.0

Updated an archaic version with abilities to identify the type of the atom and coordinates in an efficient way.

1.0.0.0