FUNCTION REFERENCE

web

Open a web page in the system browser.

Open a web page in the system browser.

Syntax

web(url); web(url, '-browser'); stat = web(url)

Opens an http:// or https:// URL in the system browser when running in the MatRust desktop, or prints the URL in CLI mode. Other URL schemes are rejected.

Example

web("https://example.com")   % Open in a browser: https://example.com

Differences from MATLAB: Only http:// and https:// URLs and the '-browser' option are supported; the built-in MATLAB browser and toolbox documentation browser are not supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.