MATLAB Answers


Why do I get the message "Undefined function 'showPointCloud' for input arguments of type 'double'."

Jianhua Ma さんによって質問されました 2015 年 1 月 21 日
最新アクティビティ Walter Roberson
さんによって 回答されました 2016 年 7 月 3 日
Dear all
When I test the simple code in page (<>) to plot 3D point cloud. I get the message
"Undefined function 'showPointCloud' for input arguments of type 'double'.
Error in test_sphere1 (line 9)
Why do I get this, I just use the example code:
close all
clear all
numFaces = 600;
[x,y,z] = sphere(numFaces);
title('Sphere with the default color map');
Thank you!

  4 件のコメント

Jianhua Ma 2015 年 1 月 21 日
MATLAB Version: (R2014b)
MATLAB License Number: ••••••
Operating System: Mac OS X Version: 10.10.1 Build: 14B25
Java Version: Java 1.7.0_55-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Version 8.4 (R2014b)
Simulink Version 8.4 (R2014b)
Bioinformatics Toolbox Version 4.5 (R2014b)
Communications System Toolbox Version 5.7 (R2014b)
*Computer Vision System Toolbox* Version 6.1 (R2014b)
Control System Toolbox Version 9.8 (R2014b)
Curve Fitting Toolbox Version 3.5 (R2014b)
DSP System Toolbox Version 8.7 (R2014b)
Database Toolbox Version 5.2 (R2014b)
Financial Toolbox Version 5.4 (R2014b)
Fixed-Point Designer Version 4.3 (R2014b)
Fuzzy Logic Toolbox Version 2.2.20 (R2014b)
Global Optimization Toolbox Version 3.3 (R2014b)
Image Acquisition Toolbox Version 4.8 (R2014b)
Image Processing Toolbox Version 9.1 (R2014b)
Instrument Control Toolbox Version 3.6 (R2014b)
MATLAB Coder Version 2.7 (R2014b)
MATLAB Compiler Version 5.2 (R2014b)
MATLAB Report Generator Version 4.0 (R2014b)
Mapping Toolbox Version 4.0.2 (R2014b)
Neural Network Toolbox Version 8.2.1 (R2014b)
Optimization Toolbox Version 7.1 (R2014b)
Parallel Computing Toolbox Version 6.5 (R2014b)
Partial Differential Equation Toolbox Version 1.5 (R2014b)
Robust Control Toolbox Version 5.2 (R2014b)
Signal Processing Toolbox Version 6.22 (R2014b)
SimBiology Version 5.1 (R2014b)
SimDriveline Version 2.7 (R2014b)
SimElectronics Version 2.6 (R2014b)
SimHydraulics Version 1.15 (R2014b)
SimMechanics Version 4.5 (R2014b)
SimPowerSystems Version 6.2 (R2014b)
Simscape Version 3.12 (R2014b)
Simulink Coder Version 8.7 (R2014b)
Simulink Control Design Version 4.1 (R2014b)
Simulink Design Optimization Version 2.6 (R2014b)
Simulink Report Generator Version 4.0 (R2014b)
Stateflow Version 8.4 (R2014b)
Statistics Toolbox Version 9.1 (R2014b)
Symbolic Math Toolbox Version 6.1 (R2014b)
System Identification Toolbox Version 9.1 (R2014b)
Wavelet Toolbox Version 4.14 (R2014b)
It seems that I have installed it. But this function still doesn't work
Dima Lisin
2015 年 1 月 22 日
What happens when you type
>> which showPointCloud
I got the exactly same question like "Undefined function 'pointCloud' for input arguments of type 'double'." Have you got your problem solved till now?

サインイン to comment.

2 件の回答

回答者: Aditya Jain
2015 年 1 月 21 日

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 日
Yes, the version I use is MATLAB R2014b. How can I check Computer Vision System Toolbox?
Image Analyst
2015 年 1 月 21 日
Like Star mentioned, type ver on the command line.
Jianhua Ma 2015 年 1 月 21 日
I typed the ver command and I find:
Computer Vision System Toolbox Version 6.1 (R2014b)
But "showPointCloud' still cannot work

サインイン to comment.

回答者: 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.

  0 件のコメント

サインイン to comment.

Translated by