isglobal
Checks if a variable is global.
Syntax
state = isglobal(variable_name)
Input argument
variable_name - a string: variable name.
Output argument
state - a logical: true if variable is global.
Description
isglobal returns true if variable_name has been declared as global variable and false otherwise.
Example
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated