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 comentarios

Hassaan
Hassaan el 11 de Feb. de 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 el 12 de Feb. de 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 el 19 de Feb. de 2024
You can share your .mesh file for a better understanding and reproduction of the issue.

Iniciar sesión para comentar.

Respuestas (1)

Siraj
Siraj el 19 de Feb. de 2024
Editada: Siraj el 19 de Feb. de 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.

Categorías

Productos

Etiquetas

Preguntada:

el 11 de Feb. de 2024

Editada:

el 19 de Feb. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by