Why is pcread not working on any .ply file?

3 vues (au cours des 30 derniers jours)
Daniel Smolyak
Daniel Smolyak le 5 Juin 2017
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?

Réponses (2)

Carolin Stocklossa
Carolin Stocklossa le 2 Mai 2018
I have the same problem but no solution yet

Alex Borg
Alex Borg le 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!

Translated by