isvar
Check for the existence of an variable.
Syntax
tf = isvar(varname)
tf = isvar(scope, varname)
Input argument
scope - a string: 'global', 'base', 'caller', 'local'.
varname - a string: variable name.
Output argument
tf - a logical: true if varname exists.
Description
isvar checks for the existence of an variable.
Example
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated