MATLAB Answers

MATLAB can't see browser tab created by another tab?

2 views (last 30 days)
Daniel Dolan
Daniel Dolan on 6 Apr 2018
Try opening a website that generates tabs. For example:
[status,browser,url]=web( 'http://henke.lbl.gov/optical_constants/atten2.html','-new')
launches a x-ray attenuation length calculator. Pressing the "Submit Request" button creates a new browser tab with a plot it.
Typing:
[~,~,url]=web();
when the first tab is active returns the correct location, but "url" is empty when the second tab is active. Multiple tabs can be accessed when created separately, but tabs generated by other tabs seem to exist outside of the web() function's knowledge. Any thoughts?
This behavior exists in release 2017b (Mac and Windows version).

  0 Comments

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!