Try an internet search for "MATLAB OCR": my search just now found 428,000 results, some of them offering example code and explanations.
Or have look at MATLAB's own OCR toolbox:
Or perhaps a search of this forum:
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!