This function carries out the following tasks:
1) Imports a SMS .2dm mesh file.
2) Creates a 'patch' plot of the mesh, where the user can specify the colormap, shading, lighting conditions, and level of transparency.
3) Exports the mesh nodes and elements to the MATLAB workspace as faces and vertices.
Has been tested for meshes up to SMS version 11.1
NOTE: This function only works with 2dm meshes having triangular and/or quadrilateral elements.
Cite As
Jeff Tuhtan (2024). view2dm (https://www.mathworks.com/matlabcentral/fileexchange/26618-view2dm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.