isdef(3m)

NAME
isdef - Check if a variable is defined

SYNOPSIS
a = isdef(w)

DESCRIPTION
This function checks if a variable is defined. With higher version of Matlab, it has become obsolete, as one can use the Matlab function exist.

PARAMETERS

w   The output of Matlab function who.

var A string containing the variable name.

RETURNS

a   An array with 1 if the corresponding variable is defined,0 otherwise.

AUTHORS
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999