Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reading .ply files in matlab

How do I read a mesh file (.ply) and display it in Matlab?

Also, how can I change the camera viewpoint of said model?

Thanks

like image 447
Aly Avatar asked Jun 18 '13 11:06

Aly


1 Answers

Go to this link : http://people.sc.fsu.edu/~jburkardt/m_src/ply_display/ply_display.m

and save this file.

The ply_display.m is a Matlab function (as opposed to a Matlab script). A Matlab function will usually need an input. You can call the ply_display function by being in the same folder as the .m file. You call it this way :

ply_display('file.ply')
%where
%'file.ply' is the name of the file
like image 92
m_power Avatar answered Oct 31 '22 13:10

m_power