Why do I see this error ' Undefined function 'ocr' for input arguments of type 'uint8'. '

I copied the exact OCR program on mathwork's website and ran it through Matlab 2013. I tried many times, but this gives me error, i don't know why? Kindly Help.

 采纳的回答

The OCR function was introduced in Computer Vision System Toolbox in release R2014a as shown in its Release Notes. You will not be able to use this function in earlier releases.

更多回答(1 个)

If you have downloaded OCR or OCR with lowercae from the Mathworks File Exchange then you need to unzip it into a directory and you need to use pathtool to add that directory to your MATLAB path.
On the other hand, both of those are launched by scripts named OCR (upper case), neither of which accepts a parameter.

Community Treasure Hunt

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

Start Hunting!

Translated by