MATLAB: Facing a PointLocation error while using ginput !

pointlocation

Hello! HELP PLEASE! I am using the PointLocation in my script but I keep getting this error 'Undefined function 'PointLocation' for input arguments of type double', knowing that the input is a point coordinates (x,y) obtained using 'ginput' function and a delaunay triangulation (DT) such that: T= PointLocation ( DT, x,y)