pdist2 error: Undefined function 'pdist2mex' for input arguments of type 'double'.
Show older comments
Every time I want to use pdist2, I get the following error:
Undefined function 'pdist2mex' for input arguments of type 'double'.
pdist is working fine and the stats toolbox is set in the path.
Any suggestions?
Thanks!
(using Matlab 2013b, sats ver 8.3)
Accepted Answer
More Answers (2)
Sajid Khan
on 6 Feb 2014
0 votes
Be careful if you are using "pdist2mex" as the name of a variable. What is the syntax that you are using? Can you please post a sample program. And on which line and function the error is occuring?
Miguel Esteva
on 6 Feb 2014
0 votes
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!