FUNCTION REFERENCE

disp

Display a value.

Display a value.

Syntax

disp(X)

Prints X to the console without showing its name.

Example

disp('hello')   % prints hello

Differences from MATLAB: Exactly one argument. Browser: output is bounded to 2,000 entries or 2 MiB per run; one displayed value is limited to 2 MiB. Desktop/CLI: no per-run output limit; one displayed value is limited to 32 MiB. Larger values fail with an error; use semicolons to suppress output.

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