IRIS Toolbox Reference Manual

## dbmerge

Merge two or more databases

#### Syntax

    D = dbmerge(D1,D2,...)

#### Input arguments

- `D1`, `D2`, ... [ struct ] - Input databases whose entries will be combined in the output datase.

#### Output arguments

- `D` [ struct ] - Output database that combines entries from all input database; if some entries are found in more than one input databases, the last occurence is used.

#### Description

#### Example

    d1 = struct('a',1,'b',2);
    d2 = struct('a',10,'c',20);
    d = dbmerge(d1,d2)
    d =
       a: 10
       b: 2
       c: 20

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.