readSurfaceMesh
Description
reads surface mesh data from a supported mesh file format with the specified filename, and
returns it as a mesh
= readSurfaceMesh(fileName
)surfaceMesh
object.
Examples
Input Arguments
Output Arguments
Limitations
You cannot read these attributes from an STL file.
Vertex normals
Vertex colors
Face colors
You cannot read face colors from a PLY file.
You can read only mesh vertices, vertex colors, and mesh triangular faces from the FBX file format.
You can read only mesh vertices and mesh triangular faces from the OBJ, GLTF, GLB, OFF, DAE, STEP, STP, IGES, or IGS file formats.
Version History
Introduced in R2022bSee Also
surfaceMesh
| pc2surfacemesh
| writeSurfaceMesh
| surfaceMeshShow