Close a web browser from script
16 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I'm doing a project where I open a broswer (default browser is chrome) from matlab using...
url = 'www.google.com';
web(url)
That opens Chrome and now if I want to close the browser how would I do that.
For my project I'm opening a different page and pulling data from it but I need to open 60 variations of that page, so I'm looking for a way to not have 60 websites up when the program has finished running. Thank you for the help!!
0 Commenti
Risposte (1)
Kritika Bansal
il 16 Gen 2020
Hi,
You can do that by using the following command in MATLAB
!taskkill -f -im chrome.exe
0 Commenti
Vedere anche
Categorie
Scopri di più su Environment and Settings in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!