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\SIGNALMacintosh:MyDisk:MATLAB:MyDisk:MATLAB:SIGNALVMS:DISK1:[MATLAB],DISK1:[MATLAB.SIGNAL]------------------------------------------------
path
getenv in any C library or UNIX reference.(c) Copyright 1994 by The MathWorks, Inc.