how to read .mesh file created in freefem in MATLAB

7 次查看(过去 30 天)
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 个评论
AMIT
AMIT 2024-2-12
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 2024-2-19
You can share your .mesh file for a better understanding and reproduction of the issue.

请先登录,再进行评论。

回答(1 个)

Siraj
Siraj 2024-2-19
编辑:Siraj 2024-2-19
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.

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by