필터 지우기
필터 지우기

pdist2 error: Undefined function 'pdist2mex' for input arguments of type 'double'.

조회 수: 4 (최근 30일)
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)

채택된 답변

Miguel Esteva
Miguel Esteva 2014년 2월 7일
Found the problem. There was a copy of pdist2.m one of the folders included in the path. After deleting it worked well.
Thanks, silly problem.

추가 답변 (2개)

Sajid Khan
Sajid Khan 2014년 2월 6일
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
Miguel Esteva 2014년 2월 6일
Thank you for your response.
Just running the following code with a clear workspace generates the error:

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by