Why is pcread not working on any .ply file?

1 view (last 30 days)
Daniel Smolyak
Daniel Smolyak on 5 Jun 2017
Answered: Alex Borg on 24 Sep 2020
I'm currently trying to import a .ply file into Matlab to parse it for vertices and faces, and I was tinkering with the new R2017a pcread() method. However, I have been unable to process any .ply, such as
ptCloud = pcread('ant.ply');
without getting the error:
Undefined function 'pcread' for input arguments of type 'char'.
Error in ply_to_mat (line 5)
ptCloud = pcread('ant.ply');
The 'ant.ply' file is in my current working directory yet it still isn't working. Any possible explanation?

Answers (2)

Carolin Stocklossa
Carolin Stocklossa on 2 May 2018
I have the same problem but no solution yet

Alex Borg
Alex Borg on 24 Sep 2020
Hello,
I have previously fixed this problem for myself. Please update to the newest version of MATLAB (at least R2020a), then try again.

Tags

Community Treasure Hunt

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

Start Hunting!