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

18 Ansichten (letzte 30 Tage)
I have a PDF document opened in Adobe Reader, which I would like to close from within MATLAB.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 1 Okt. 2009
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.

Weitere Antworten (0)

Kategorien

Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by