getenv
Environment variable
Syntax
Description
searches the operating system environment variable list for text of the formvalue
= getenv(name
)name=value
.
On UNIX®platforms, the shell you use to start MATLAB®determines the operating system environment. For example, starting MATLAB on aMacplatform from theApplications
folder creates a different shell environment from starting MATLAB from Terminal.