MATLAB: Computer Vision – Undefined function ‘detectSURFFeatures’ for input arguments of type ‘uint8’.

computer visionComputer Vision ToolboxerrorMATLABuint8

When I am trying to follow the Computer Vision Toolbox tutorial with the following code, I am getting the error
Undefined function 'detectSURFFeatures' for input
arguments of type 'uint8'.
>> imshow(TextDetectionExample_01)
>> I = rgb2gray(TextDetectionExample_01);
>> points= detectSURFFeatures(I);
Undefined function 'detectSURFFeatures' for input
arguments of type 'uint8'.
I have Computer Vision installed onto my computer, so am wondering why this is happening? Can anyone help?

Best Answer

Deborah - in the Command Window, type which detectSURFFeatures -all to locate the function. If it doesn't exist, you will see a 'detectSURFFeatures' not found message.
Which version of MATLAB are you running? In the Command Window, type ver and check the MATLAB version.
Based on Computer Vision System Toolbox Release Notes, the detectSURFFeatures was introduced in R2011b.
Related Question