Clear Filters
Clear Filters

how to read .mesh file created in freefem in MATLAB

6 views (last 30 days)
I want to read a .mesh file ;created in freefem++; and read it in MATLAB.
Is there any function for it as ffreadmesh() doesn't work.
  3 Comments
AMIT
AMIT on 12 Feb 2024
When i am reading .mesh file , I am getting this error "Index in position 1 exceeds the array bounds. Index must not exceed 1.
Error in ffreadmesh(line 210)
Kautuk Raj
Kautuk Raj on 19 Feb 2024
You can share your .mesh file for a better understanding and reproduction of the issue.

Sign in to comment.

Answers (1)

Siraj
Siraj on 19 Feb 2024
Edited: Siraj on 19 Feb 2024
Hi!
It is my understanding that you want to read a .mesh file created in freefem++ in MATLAB. Since you haven't shared the file, it's difficult to identify why "ffreadmesh" isn't working, although ideally, it should. As an alternative, you can try the "importfilemesh" function to import freefem++ meshes into MATLAB. For more information on the "importfilemesh" function, you can refer to the following link:
Hope this helps.

Categories

Find more on Programming in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!