mesh_io, a MATLAB code which reads or writes MESH files defining a finite element mesh.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


mesh_io is available in a C version and a C++ version and a Fortran90 version and a MATLAB version.

Related Programs:


fem_to_mesh, a MATLAB code which reads a pair of FEM files defining node coordinates and elements, and creates a corresponding MESH file.

ice_to_mesh, a MATLAB code which reads a NETCDF file containing an ICE dataset and rewrites the information as a MESH file.

mesh, a data directory which contains examples of MESH files, which can be used to define the geometry of a finite element mesh in 2D or 3D, using triangles, quadrilaterals, tetrahedrons or hexahedrons.

mesh_to_ice, a MATLAB pcode which reads the ICE data information from a MESH files and rewrites it to a NETCDF file.


  1. Pascal Frey,
    MEDIT: An interactive mesh visualization software,
    Technical Report RT-0253,
    Institut National de Recherche en Informatique et en Automatique,
    03 December 2001.

Source Code:

Last revised on 15 December 2022.