How can I close a PDF document in Adobe Reader from MATLAB on Windows?
18 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a PDF document opened in Adobe Reader, which I would like to close from within MATLAB.
Réponse acceptée
MathWorks Support Team
le 1 Oct 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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Import and Analysis dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!