state = isglobal(variable_name)
| Paramètre | Description |
|---|---|
| variable_name | une chaîne : nom de la variable. |
| Paramètre | Description |
|---|---|
| state | un booléen : vrai si la variable est globale. |
isglobal renvoie vrai si variable_name a été déclarée comme variable globale, et faux sinon.
y = 3;
isglobal y
global b
b = 3
isglobal b
clear global b
isglobal b
| Version | Description |
|---|---|
| 1.0.0 | version initiale |