FUNCTION REFERENCE

str2mat

Pad character rows to form a character matrix.

Pad character rows to form a character matrix.

Syntax

chars = str2mat(row1, row2, ...)

Example

size(str2mat('a','bcd'))   % [2 3]

Differences from MATLAB: none known for these forms.

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