How can I close a PDF document in Adobe Reader from MATLAB on Windows?

조회 수: 18 (최근 30일)
I have a PDF document opened in Adobe Reader, which I would like to close from within MATLAB.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 10월 1일
In order to close an open PDF document in Adobe Reader you can use the MATLAB DOS command to call in turn the Windows TASKKILL command like this:
dos('taskkill /F /IM acroRd32.exe')
This will force the acroRd32.exe process to close.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by