how to read .mesh file created in freefem in MATLAB

8 vues (au cours des 30 derniers jours)
AMIT
AMIT le 11 Fév 2024
Modifié(e) : Siraj le 19 Fév 2024
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 commentaires
AMIT
AMIT le 12 Fév 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 le 19 Fév 2024
You can share your .mesh file for a better understanding and reproduction of the issue.

Connectez-vous pour commenter.

Réponses (1)

Siraj
Siraj le 19 Fév 2024
Modifié(e) : Siraj le 19 Fév 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.

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by