FUNCTION REFERENCE

strread

Read formatted text into separate output columns.

Read formatted text into separate output columns.

Syntax

[a, b, ...] = strread(text [, format, option, value, ...])

Example

[a,b]=strread('1 2 3 4','%d %d'); [a b]   % [1 2; 3 4]

Differences from MATLAB: Uses the bounded textscan parser and its supported options.

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