MATLAB Answers


How to enable Java - for webpages that require it, when opening a webpage through matlab using" web(url, opt)"?

Asked by Denice
on 16 Jan 2013

If someone knows please tell me!!


2 Answers

Answer by Walter Roberson
on 17 Jan 2013

If you are using the built-in MATLAB web browser, then there is no apparent way to do that. The built-in browser is based on an early Firefox beta, and the code that runs it has been hidden away in Java classes with no visible config files that look anything like the Firefox config files.

If you add the -sys option to web() then it will open your system browser, and then you would only have to fight with that instead.


Answer by Jan Simon
on 17 Jan 2013
Edited by Jan Simon
on 17 Jan 2013

In my tests in 2009a it seems, like Java is enable by default in the internal browser:


As discussed in the thread Answers: Security implications by Java, browsing through the net with an outdated Java versions is a severe security problem. Evil code, which exploits weaknesses of Java, have been injected in official and professional pages also, such that US-CERT recommends to uninstall Java or at least disable the plugins in the browser, see

There is an impressing number serious bugs in all Java versions in the last years, and it took always a long time until they are (partially) fixed. In my institute 3% of the computers have been infected through a Java exploit inspite of a running and uptodate virus checker.


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!