How to get current URL from web browser using matlab?

I'm looking for how to get current URL from web browser such as chrome, firefox, or matlab browser using matlab code? It it possible to do it? Thank you

Answers (1)

If you are willing to do copy&paste, you can do this in MATLAB
txt=clipboard('paste')

2 Comments

How do you use this to copy the url- sorry I've never seen the clipboard function before?
You go to your browser address bar, press Ctrl+C to copy the URL, and then go to MATLAB Command Window to run the above command.

Sign in to comment.

Categories

Tags

Asked:

Ara
on 4 Mar 2015

Commented:

on 6 Apr 2022

Community Treasure Hunt

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

Start Hunting!