mesh generation MATLAB script

The MATLAB function GenMeshMatlab takes in the input arguments of two opposite points on a meshgrid, defined by (x1, y1, z1) and (x2, y2, z2), and the number of x, y, and z elements to generate nodes.dyn and elems.dyn files.