[Master Index]
[Index for /tools/hpmatlab/toolbox/matlab/general]
unix
(/tools/hpmatlab/toolbox/matlab/general/unix.m)
Help text
UNIX Execute UNIX operating system command.
[status,result] = UNIX('command'), for UNIX systems, calls upon
the operating system to execute the given command. The resulting
status and standard output are returned.
Examples:
[s,w] = unix('who')
returns s = 0 and, in w, a MATLAB string containing a list of
the users currently logged in.
[s,w] = unix('why')
returns a nonzero value in s to indicate failure and sets w to
the null matrix because "why" is not a UNIX command.
[s,m] = unix('matlab')
never returns because running the second copy of MATLAB requires
interactive user input which cannot be provided.
See also ! (exclamation point) under PUNCT.
Cross-Reference Information
This is called by
- killAserver /tools/hpmatlab/toolbox/matlab/sounds/killAserver.m
- ls /tools/hpmatlab/toolbox/matlab/general/ls.m
- playsound /tools/hpmatlab/toolbox/matlab/sounds/playsound.m
- print /tools/hpmatlab/toolbox/matlab/graphics/print.m
- recsound /tools/hpmatlab/toolbox/matlab/sounds/recsound.m
- startAserver /tools/hpmatlab/toolbox/matlab/sounds/startAserver.m
- swapprev /tools/hpmatlab/toolbox/matlab/graphics/swapprev.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON