isglobal

Purpose

True for global variables.

Synopsis

k = isglobal(name)

Description

isglobal(name) is 1 if name has been declared to be a global variable, and is 0 if it has not been so declared.

See Also

clear, global, who

(c) Copyright 1994 by The MathWorks, Inc.