File Exchange

image thumbnail

webbrowser(url)

version 1.1.0.0 (11.4 KB) by Emmanuel Farhi
A Java Based Web Browser

2 Downloads

Updated 03 Feb 2018

View License

webbrowser: basic web browser running from Matlab
Opens a simplistic web browser, built from Matlab/Java.
Can be used as replacement for the 'web' command in deployed applications.
Requires a running JVM.
This browser has very limited rendering capabilities. It does not support
JavaScript, and other 'modern' HTML extensions (flash, HTML5,...).
The browser has a display pane, a Home button, a Back button, an editable URL
field, and keeps track of the navigation history. Does not support proxy settings.
Also works within compiled Matlab applications.

webbrowser Opens an empty browser.
webbrowser(file) Display the specified file (full path or in the Matlab search path)
webbrowser(url) Opens a browser displaying the specified URL.
webbrowser(url,'system') tries first to open the web page with the system browser.

Copyright: Licensed under the BSD, version 1.1
E. Farhi, ILL, France <farhi@ill.fr> Aug 2017, http://ifit.mccode.org

Cite As

Emmanuel Farhi (2019). webbrowser(url) (https://www.mathworks.com/matlabcentral/fileexchange/61094-webbrowser-url), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

The request to matlab.internal only works in recent Matlab releases. Also, It isn't available in standalone compiled apps. webbrowser works in all cases, even-though basic.

Mikhail

If you need more capabilities, try built-in browser based on Chromium:

w = matlab.internal.webwindow('https://www.mathworks.com')
w.bringToFront

Updates

1.1.0.0

handle properly url's with special characters.

1.0.2.0

updated screenshot

1.0.1.0

fixed opening with local file or directory

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux