Main Content
exist
Description
returns varExists
= exist(connectionObj
,varNames
)1
(true
) if the specified variables
varNames
exist in the connected data source
connectionObj
, and 0
(false
)
otherwise. If varNames
is an array, the output
varExists
is an array of the same size as
varNames
, and varExists(i)
indicates whether the
variable name varNames(i)
exists in the connected data source.
If a data connection can access multiple data sources (for example, a data dictionary
and its referenced dictionaries), the function returns 1
(true
) if the variable exists in any of the visible data
sources.
Examples
Input Arguments
Version History
Introduced in R2024a