Scilab 5.3.1
- Scilab help
- Elementary Functions
- Bitwise operations
- Discrete mathematics
- Elementary matrices
- Floating point
- Integer representation
- Matrix manipulation
- Matrix operations
- Search and sort
- Set operations
- Signal processing
- Symbolic
- Trigonometry
- abs
- amell
- and
- &
- cat
- cell2mat
- cellstr
- char
- delip
- diff
- exp
- imag
- imult
- inttrap
- isdef
- isempty
- isequal
- isequalbitwise
- isreal
- isvector
- log
- log10
- log1p
- log2
- logm
- lstsize
- max
- min
- modulo
- ndims
- norm
- or
- |
- pertrans
- real
- sign
- signm
- size
- sqrt
- sqrtm
- squarewave
- toeplitz
- typeof
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
isdef
checks variable existence
Calling Sequence
isdef(name [,where])
Arguments
- name
a character string
- where
an optional character string with default value
'all'
Description
isdef(name)
returns %T
if the
variable namedname
exists and %F
otherwise.
Caveats: a function which uses isdef
may return a
result which depends on the environment!
isdef(name,'local')
returns %T
if the variable namedname
exists in the local
environment of the current function and %F
otherwise.
isdef(name,'nolocal')
returns
%T
if the variable named name
exists
in the full calling environment (including the global level) of the
current function and %F
otherwise.
Examples
See Also
<< inttrap | Elementary Functions | isempty >> |