How can I retrieve the URL from an external browser from within Matlab?
4 views (last 30 days)
Show older comments
I'm new to Matlab, so my question may be a bit basic. I know of Matlab's internal browser (via, say, the 'web' command), but it has given me a problem by sometimes not detecting when the user clicks next on an online survey I administer through Matlab. I've never had that problem with any external browser (Firefox, Chrome, IE). I want to close the browser automatically when the user gets to the end of the survey. I know the url that the user will go to after finishing the survey. So right now using the Matlab browser, I just use: [s,bwser] = web(url2, '-new', '-notoolbar', '-noaddressbox'); cloc = get(bwser, 'currentLocation'); and then check if cloc is equal to the given url. I would love to do the same thing with an external browser. I know how to call the external browser and assign it a URL, but after the participant clicks on a link on it, I don't know how to retrieve the current URL from that browser. Any ideas?
1 Comment
Walter Roberson
on 22 Sep 2012
You might be able to do something with ActiveX to run the browser session.
Answers (0)
See Also
Categories
Find more on ActiveX in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!