<< global | Memory manager functions | isvar >> |
state = isglobal(variable_name) |
a string: variable name.
a logical: true if variable is global.
isglobal returns true if variable_name has been declared as global variable and false otherwise.
y = 3;
isglobal y
global b
b = 3
isglobal b
clear global b
isglobal b
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET