List = dbnames(D,...)
D
[ struct ] - Input database.List
[ cellstr ] - List of input database entries that pass the name or class test.'nameFilter='
[ char | Inf
] - Regular expression against which the database entry names will be matched; Inf
means all names will be matched.
'classFilter='
[ char | Inf
] - Regular expression against which the database entry class names will be matched; Inf
means all classes will be matched.
Notice the differences in the following calls to dbnames
:
dbnames(d,'nameFilter=','L_')
matches all names that contain 'L_'
(at the beginning, in the middle, or at the end of the string), such as 'L_A'
, 'DL_A'
, 'XL_'
, or just 'L_'
.
dbnames(d,'nameFilter=','^L_')
matches all names that start with 'L_'
, suc as 'L_A'
or 'L_'
.
dbnames(d,'nameFilter=','^L_.')
matches all names that start with 'L_'
and have at least one more character after that, such as 'L_A'
(but not 'L_'
).