andyzeng / 3dmatch-toolbox

3DMatch - a 3D ConvNet-based local geometric descriptor for aligning 3D meshes and point clouds.
http://3dmatch.cs.princeton.edu/
BSD 2-Clause "Simplified" License
836 stars 189 forks source link

Problem with Matlab script demo.m #9

Closed manhha1402 closed 6 years ago

manhha1402 commented 6 years ago

Hi, I tried to run the demo instructions. When I run the matlab script, it showed the error: "Undefined function 'pcread' for input arguments of type 'char'. Error in demo (line 16) fragment1PointCloud = pcread(fragment1PointCloudFile); " I am new to Matlab and using Matlab 2014a. The problem here is that function "pcread" cannot read .ply file, right? Thank you very much

andyzeng commented 6 years ago

Correct. Matlab's function pcread (part of the 3D Point Cloud Processing Toolbox) was not introduced until version R2015a. Try updating your version of Matlab to 2015a or higher.

manhha1402 commented 6 years ago

Thanks, I will update the version to test the approach !