FUNCTION REFERENCE

upper

Convert text to upper case.

Convert text to upper case.

Syntax

s = upper(s)

Syntax

c = upper(c)

A cell array of text gives a cell array. Numeric input is returned unchanged.

Example

upper('abc')   % 'ABC'

Differences from MATLAB: Character matrices are not supported yet.

String inputs are supported with bounded two-dimensional storage.

Example

upper(["a" "b"])

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