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

8 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Steven Lord
Steven Lord am 3 Aug. 2015
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.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 3 Aug. 2015
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