Remove page numbers from extractFileText

Hi,
Is there a way to use extractFileText to read in a document but not import the page numbers?
Thx

Answers (1)

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

thats more for tabular data and doesn't really apply to 'extractFileText'

Sign in to comment.

Categories

Products

Release

R2022a

Asked:

on 5 Feb 2023

Commented:

on 5 Feb 2023

Community Treasure Hunt

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

Start Hunting!