[Gmsh] Gmesh to MATLAB

Jose Paulo Moitinho de Almeida moitinho at civil.ist.utl.pt
Tue Apr 26 13:24:32 CEST 2011


On Friday 22 April 2011, Gmsh User wrote:
> Hello Gmsh users,
> I was just wondering whether there exits a MATLAB function that can read
> .msh file created by Gmsh software and returns output in the following
> format:
> 
> Output1: nodal coordinates = array of x y z coordinates of all the nodes
> (including the boundary nodes)
> 
> Output2 : nodal numbers = array of node numbers for each element
> 
> 
> I'd appreciate if somebody could point me to the appropriate resources
> where I can find such a MATLAB function.
> 
> Thank you for your time.
> 
> PS # I have Gmsh installed and running in MAC OX 10.6 .
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

Check load_gmsh.m and load_gmsh2.m in utils/converters/matlab

Adapt according to your needs.

Regards

ZP