Main Content
isenv
Syntax
Description
tf = isenv(
returns a logical array
containing varname
)1
(true
) where the elements of the
varname
array are operating system environment variables, and
0
(false
) where they are not. The logical array
tf
has the same dimensions as the input array.
On most UNIX® platforms, an environment variable can exist with an empty value
(""
). On the Microsoft®
Windows® platform, setting the value of an environment variable to
""
is equivalent to removing the variable.