IRIS Toolbox Reference Manual

## dbnames

List of database entries filtered by name and/or class

#### Syntax

    List = dbnames(D,...)

#### Input arguments

- `D` [ struct ] - Input database.

#### Output arguments

- `List` [ cellstr ] - List of input database entries that pass the name or class test.

#### Options

- `'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.

#### Description

#### Example

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_'`).

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.