how to read .mesh file created in freefem in MATLAB

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

Hassaan
Hassaan le 11 Fév 2024
@AMIT What issue you are having with ffreadmesh() ?
-----------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
It's important to note that the advice and code are based on limited information and meant for educational purposes. Users should verify and adapt the code to their specific needs, ensuring compatibility and adherence to ethical standards.
Professional Interests
  • Technical Services and Consulting
  • Embedded Systems | Firmware Developement | Simulations
  • Electrical and Electronics Engineering
Feel free to contact me.
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)
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

0 votes

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 Installing Products dans Centre d'aide et File Exchange

Produits

Question posée :

le 11 Fév 2024

Modifié(e) :

le 19 Fév 2024

Community Treasure Hunt

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

Start Hunting!

Translated by