MATLAB Answers

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

8 views (last 30 days)
Jianhua Ma
Jianhua Ma on 21 Jan 2015
Answered: Walter Roberson on 3 Jul 2016
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!


Show 1 older comment
Jianhua Ma
Jianhua Ma on 21 Jan 2015
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
forest tracker
forest tracker on 3 Jul 2016
I got the exactly same question like "Undefined function 'pointCloud' for input arguments of type 'double'." Have you got your problem solved till now?

Sign in to comment.

Answers (2)

Aditya Jain
Aditya Jain on 21 Jan 2015
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?


Jianhua Ma
Jianhua Ma on 21 Jan 2015
I typed the ver command and I find:
Computer Vision System Toolbox Version 6.1 (R2014b)
But "showPointCloud' still cannot work

Sign in to comment.

Walter Roberson
Walter Roberson on 3 Jul 2016
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.


Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by