This function reads vertices, faces, texture and normal information from a specified Obj file, and stores the information in a Matlab structure. This file is designed for faces with 3 vertices (Triangulated mesh).
Cite As
Bernard Abayowa (2026). readObj (https://www.mathworks.com/matlabcentral/fileexchange/18957-readobj), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > STL (STereoLithography) >
Find more on STL (STereoLithography) in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: DAVID Laserscanner Wavefront *.obj file reader, plotter, volume and surface area calculator, parseObj, read obj files
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
