Why do I get the message "Undefined function 'showPointCloud' for input arguments of type 'double'."
이전 댓글 표시
Dear all
When I test the simple code in page (<http://www.mathworks.com/help/vision/ref/showpointcloud.html>) to plot 3D point cloud. I get the message
"Undefined function 'showPointCloud' for input arguments of type 'double'.
Error in test_sphere1 (line 9)
showPointCloud([x(:),y(:),z(:)]);"
Why do I get this, I just use the example code:
close all
clc
clear all
numFaces = 600;
[x,y,z] = sphere(numFaces);
figure;
showPointCloud([x(:),y(:),z(:)]);
title('Sphere with the default color map');
xlabel('X');
ylabel('Y');
zlabel('Z');
Thank you!
댓글 수: 4
Star Strider
2015년 1월 21일
Do you have the Computer Vision System Toolbox installed?
In the Command Window type:
ver
to find the version of MATLAB and all toolboxes you have installed. If you have the Computer Vision System Toolbox, it should be listed.
Jianhua Ma
2015년 1월 21일
편집: Walter Roberson
2016년 7월 3일
Dima Lisin
2015년 1월 22일
What happens when you type
>> which showPointCloud
forest tracker
2016년 7월 3일
I got the exactly same question like "Undefined function 'pointCloud' for input arguments of type 'double'." Have you got your problem solved till now?
답변 (2개)
Aditya Jain
2015년 1월 21일
0 개 추천
What version of MATLAB are you using?
showPointCloud is only available from MATLAB R2014b.
Also as Star mentioned, do you have Computer Vision System Toolbox?
댓글 수: 3
Jianhua Ma
2015년 1월 21일
Image Analyst
2015년 1월 21일
Like Star mentioned, type ver on the command line.
Jianhua Ma
2015년 1월 21일
Walter Roberson
2016년 7월 3일
I have tested in R2014b and showPointCloud does work.
If ver('Vision') shows the product installed, it is possible that you do not have it licensed. See what license('test','video_and_image_blockset') returns: it should return 1 if you have the product license. Also try
which -all showPointCloud
if the software is installed but there is no license for it you will probably see a note about no license beside it.
카테고리
도움말 센터 및 File Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!