Reading *.msh files (3D) in Matlab.
Show older comments
I have created this 3D geometry and the mesh in Gmsh, now I need to get the number of nodes, elements, faces from the mesh in Matlab. How can I do that?
I can send you the *.geo and the *.msh files.
Thanks in advance.
Sanwar
Accepted Answer
More Answers (2)
Sahithi Kanumarlapudi
on 5 Nov 2019
0 votes
‘findElements’ and ‘findNodes’ can be used to calculate the number of elements and nodes in a mesh respectievely.
You can find the documentation for both the functions in the following links
3 Comments
Sanwar Ahmad
on 6 Nov 2019
Harshit Ks
on 23 Sep 2020
@Sanwar Ahmad
Hi, I am stuck on the same problem as in your original question.
Can you share the codes to read .msh files?
Thanks.
Sanwar Ahmad
on 24 Sep 2020
hi can i solve overset meshes in matlab please?
if you have any code please share
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




