[Gmsh] Using load_gmsh4.m to read cube.msh into Matlab

G. D. McBain gdmcbain at protonmail.com
Mon Oct 15 03:34:47 CEST 2018


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Le vendredi, octobre 12, 2018 5:15 PM, Abiti Adili <aadili1 at lsu.edu> a écrit :

> I am a beginner in using GMSH.

Welcome.

> In order to learn how I can export msh file generated in Gmsh 4.0, I opened the cube.geo from the simple-geo under demos and used the 3D option in Mesh to generate tetrahedral mesh. Then , I tried to use load_gmsh4.m in Matlab to read the msh file. But I noticed that the matlab function is written for msh format version 1 or 2.
>
> I am writing to ask if you kindly give me some directions on how I can export msh format from Gmsh 4.0 into Matlab.

I'm not sure what load_gmsh4.m is or where it's from, but you can generated the legacy format version 2 easily enough; see http://onelab.info/pipermail/gmsh/2018/012511.html .




More information about the gmsh mailing list