MATLAB Function Reference    
computer

Identify information about computer on which MATLAB is running

Syntax

Description

str = computer returns the string str with the computer type on which MATLAB is running.

[str,maxsize] = computer returns the integer maxsize, which contains the maximum number of elements allowed in an array with this version of MATLAB.

[str,maxsize,endian] = computer also returns either 'L' for little endian byte ordering or 'B' for big endian byte ordering.

The list of supported computers changes as new computers are added and others become obsolete. A typical list follows.

str
Computer
ALPHA
Compaq Alpha (OSF1)
HP700
HP 9000/700 (HP-UX 10.20)
HPUX
HP PA-RISC (HP-UX 11.00)
IBM_RS
IBM RS6000 workstation (AIX)
GLNX86
Linux on PC
PCWIN
Microsoft Windows
SGI
Silicon Graphics (IRIX/IRIX64)
SOL2
Sun Solaris 2 SPARC workstation

Remarks

SGI64 users prior to R12 must migrate to SGI with R12. LNX86 users prior to R12 must migrate to GLNX86 with R12.

See Also

ispc, isunix


  complex cond