Browser does not take a url with parameters

1 view (last 30 days)
Xu Cui
Xu Cui on 20 Nov 2015
Edited: Xu Cui on 20 Nov 2015
I am using the following method to embed a webpage in a matlab figure. But the parameters in the url (num=20&site=x) do not get passed to the website. This happens only to some computers. I am not sure if it's matlab version, or some components in Matlab. Anybody know a reason and how to fix it?
jObject = com.mathworks.mlwidgets.html.HTMLBrowserPanel;
[browser,container] = javacomponent(jObject, [], f);
set(container, 'Units','norm', 'Pos',[0.55,0.05,0.44,0.45]);
browser.setCurrentLocation('https://www.mysite.com/index.php?num=20&site=x');

Answers (0)

Categories

Find more on Debugging and Analysis 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!