image thumbnail

view2dm

version 2.0.0.0 (6.85 KB) by Jeff Tuhtan
View a SMS .2dm mesh file in MATLAB using 'patch'.

785 Downloads

Updated 26 Apr 2017

View License

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 (2021). view2dm (https://www.mathworks.com/matlabcentral/fileexchange/26618-view2dm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!