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

18 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
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