FUNCTION REFERENCE

computer

Identify the host computer architecture.

Identify the host computer architecture.

Syntax

c = computer

Syntax

arch = computer('arch')

Syntax

[c, maxsize, endian] = computer

The architecture names describe the supported 64-bit Windows, Linux and Intel macOS hosts. Endian is L or B. maxsize is the MATLAB-compatible theoretical limit; actual allocations retain MatRust limits.

Example

[c, n, e] = computer; ischar(c)   % 1

Differences from MATLAB: The reported theoretical maximum does not raise the engine allocation limit.

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