Undefined function 'extractFileText' for input arguments of type 'char'

Hi, when I try the following command
str = extractFileText('mydocument.pdf');
I get this error
Undefined function 'extractFileText' for input arguments of type 'char'.
Error in untitled (line 4)
str = extractFileText('mydocument.pdf');
Why do I get this error?
How can extract data from my PDF then?
P.S.: my MATLAB version is R2019b.

 Accepted Answer

Sim
Sim on 15 Dec 2021
Edited: Sim on 16 Dec 2021
OK, stupid question since I had not the Text Analytics Toolbox installed - After the installation of that toolbox, it worked well!

More Answers (0)

Categories

Asked:

Sim
on 15 Dec 2021

Edited:

Sim
on 16 Dec 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!