Why would you save an image by embedding it in a figure? Creating completely pointless obstacles is a great way to make sure nobody takes the time to answer. Save images with imwrite(). Avoid JPG when appropriate.
% the image was obviously a JPG to begin with
% but i'm not going to lossy transcode it again
inpict = imread('asdf.png');
imshow(inpict,'border','tight')
% extract the text
roi = [0.51 49.51 39.98 21.98];
ocrResults = ocr(inpict,roi)
% this can be expected to break as non-numeric "words" are recognized
thenumber = str2double(ocrResults.Words)