How to find the handle of an object (a browser's tab) that was opened in system browser?

1 visualizzazione (ultimi 30 giorni)
1. Certain web pages don't open properly with mathworks internal browser so I'm using Firefox instead.
But, once I use it, I can't identify the browser's handle and as such I loss capabilities (like refresh, select a specific tab) to manipulate the browser from Matlab.
2. Web function returns properly the handle of an object (web page) that was opened in mathworks internal browser:
[~,h] = web('http://www.google.com')
h =
com.mathworks.mde.webbrowser.WebBrowser[Web Browser,10,10,600x600,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
but once I use a 3rd party browser (i.e. Firefox, Chrome), I don't get the handle output.
[~,h] = web('http://www.google.com','-browser')
h =
[]
3. Is there a way to find the handle of an object (a browser's tab) that was opened in system browser?

Risposte (1)

hamid bin
hamid bin il 18 Gen 2021
No one wants to answer this serious problem!?

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by