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

11 ビュー (過去 30 日間)
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.

採用された回答

Steven Lord
Steven Lord 2015 年 8 月 3 日
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 件)

Walter Roberson
Walter Roberson 2015 年 8 月 3 日
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