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
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!