how to save a PDE meshed stl to file

조회 수: 3 (최근 30일)
D KUSHAL KUMAR
D KUSHAL KUMAR 2019년 11월 30일
답변: Rahul 2025년 5월 15일
By using PDE Toolbox an STL file is meshed. can we save the meshed geometry to file format ?
  댓글 수: 1
Claud
Claud 2023년 4월 18일
I would also be interested in finding a solution to this problem.

댓글을 달려면 로그인하십시오.

답변 (1개)

Rahul
Rahul 2025년 5월 15일
You can save the mesh obtained from an '.stl' file using the PDE toolbox in a text file using the following steps:
  • Create a PDE model using 'createpde' function.
  • Obtain the geometry into the model from the '.stl' file using 'importGeometry' function.
  • Generate the mesh using 'generateMesh' function.
  • Now after obtaining the mesh, we can obtain the 'Nodes' and 'Elements' and use the 'dlmwrite' or 'writematrix' function to save them individually in text files.
The following MathWorks documentations can be referred:
Thanks.

카테고리

Help CenterFile Exchange에서 Geometry and Mesh에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by