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

回答(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 个评论

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

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Text Data Preparation 的更多信息

产品

版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by