Remove page numbers from extractFileText

3 views (last 30 days)
John Adams
John Adams on 5 Feb 2023
Commented: John Adams on 5 Feb 2023
Hi,
Is there a way to use extractFileText to read in a document but not import the page numbers?
Thx

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 5 Feb 2023
If the file to be imported is uniformly page numbered, then its page numbers can be detected and removed using the fcn - detectimportoptions() to detect as text headers:
https://www.mathworks.com/help/matlab/ref/detectimportoptions.html
  1 Comment
John Adams
John Adams on 5 Feb 2023
thats more for tabular data and doesn't really apply to 'extractFileText'

Sign in to comment.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!