Why is pcread not working on any .ply file?

2 visualizzazioni (ultimi 30 giorni)
Daniel Smolyak
Daniel Smolyak il 5 Giu 2017
Risposto: Alex Borg il 24 Set 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?

Risposte (2)

Carolin Stocklossa
Carolin Stocklossa il 2 Mag 2018
I have the same problem but no solution yet

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

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by