Hello,
From my understanding, you want to read text data from PDF file.
You may use the extractFileText() which is capable of reading text data from PDF, Microsoft Word or HTML files. This is available from R2017b version of MATLAB.
Here are some answers from the community which might be of relevance to you.