How to get current URL from web browser using matlab?
Show older comments
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
1 Comment
Hank Helmers
on 6 Apr 2022
Did you find any way to do this?
Answers (1)
Fangjun Jiang
on 6 Apr 2022
If you are willing to do copy&paste, you can do this in MATLAB
txt=clipboard('paste')
2 Comments
Hank Helmers
on 6 Apr 2022
How do you use this to copy the url- sorry I've never seen the clipboard function before?
Fangjun Jiang
on 6 Apr 2022
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.
Categories
Find more on File Operations 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!