getenv
('string'
)
getenv('string')
returns the text associated with the environment variable specified by string
.
On other systems you might gets = getenv('MATLABPATH')
s =
/matlab:/matlab/signal
------------------------------------------------ DOS:\MATLAB;\MATLAB\SIGNAL
Macintosh:MyDisk:MATLAB:MyDisk:MATLAB:SIGNAL
VMS:DISK1:[MATLAB],DISK1:[MATLAB.SIGNAL]
------------------------------------------------
path
getenv
in any C library or UNIX reference.(c) Copyright 1994 by The MathWorks, Inc.