A Java Based Web Browser
Updated 3 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 (2024). webbrowser(url) (https://www.mathworks.com/matlabcentral/fileexchange/61094-webbrowser-url), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Startup and Shutdown in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

handle properly url's with special characters.

updated screenshot

fixed opening with local file or directory