MATLAB Function Reference | ![]() ![]() |
Identify the computer on which MATLAB is running
Syntax
str = computer
[str,
maxsize] = computer
Description
str = computer
returns a string 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.
The list of supported computers changes as new computers are added and others become obsolete. A typical list follows
String |
Computer |
ALPHA |
Compaq Alpha |
HP700 |
HP 9000/700 |
IBM_RS |
IBM RS6000 workstation |
GLNX86 |
Linux on PC compatible |
PCWIN |
MS-Windows |
SGI |
Silicon Graphics |
SOL2 |
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
![]() | complex | cond | ![]() |