How to find out number of pages in a PDF file?

조회 수: 3 (최근 30일)
Kevin
Kevin . 2022년 3월 15일
답변: Richard Quist . 2022년 4월 30일
I use the matlab function extractFileText( ) (from the Text Analytics Toolbox) to read PDF file.
But how do I find out number of pages in a PDF file?

답변 (1개)

Richard Quist
Richard Quist 2022년 4월 30일
I don't know of anything built into MATLAB that would provide this. It's possible you could write a batch file/shell script to do this for you using an external tool like pdftk, ghostscript, or qpdf.

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by