Po-Jen Lai
Po-Jen Lai

Reputation: 421

How to install a "not found" function in MATLAB?

I am using Matlab R2010a on Windows 7 64 bit.

When I was using imfindcircles, I got the error.

>> [centers, radii] = imfindcircles(image,[100 400],'ObjectPolarity','dark')
??? Undefined function or method 'imfindcircles' for input arguments of type
'uint8'.

I referenced a helpful question and found out that I cannot find imfindcircles function.

>> which imfindcircles
'imfindcircles' not found.
>> help imfindcircles

imfindcircles not found.

Use the Help browser Search tab to search the documentation, or
type "help help" for help command options, such as help for methods.

I cannot find imfindcircles.m on my computer.

EDIT:

I checked the functions in the MATLAB Image Processing Toolbox, and found imread.

>> which imread
C:\Program Files\MATLAB\R2010a\toolbox\matlab\imagesci\imread.m

I found some function in C:\Program Files\MATLAB\R2010a\toolbox\matlab\imagesci and C:\Program Files\MATLAB\R2010a\toolbox\images, but I don't have imfindcircles.m. Should I download imfindcircles.m somewhere and put it into an directory?

Upvotes: 1

Views: 4054

Answers (2)

bas
bas

Reputation: 209

You need to have toolbox ver. 8.0 or greater to find imfindcircles. use "ver" to find the installed version for image processing toolbox

Upvotes: 3

Simon
Simon

Reputation: 32943

imfindcircles is part of the Image Processing toolbox. You need to have this toolbox and to have a valid license for it.

Did you check if you have any of the other functions in this toolbox?

Upvotes: 1

Related Questions