Exporting mesh generated by MATLAB to ASCII file?
조회 수: 5 (최근 30일)
이전 댓글 표시
I have generated a 3D mesh from a STL file using the PDE toolbox. How can I extract the mesh in terms of numerical outputs in an ASCII file?
Here's the code:
importGeometry(model,'cad.stl');
generateMesh(model, 'Hmax',5);
figure
pdeplot3D(model)
댓글 수: 0
채택된 답변
KSSV
2021년 10월 8일
Have a look on the model.
model.Mesh
In the above you have elements as well as nodal connectivity. You can pick from there and use fprintf to write into ascii file.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Geometry and Mesh에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!