IRIS Toolbox Reference Manual

## eval

Evaluate contributions in input database S using grouping object G

#### Syntax

    [S,L] = eval(G,S)

#### Input arguments

- `G` [ grouping ] - Grouping object.

- `S` [ dbase ] - Input dabase with individual contributions.

#### Output arguments

- `S` [ dbase ] - Output database with grouped contributions.

- `L` [ cellstr ] - Legend entries based on the list of group names.

#### Description

#### Example

For a model object M, database D and simulation range R,

    S = simulate(M,D,R,'contributions=',true) ;
    G = grouping(M)
    ...
    G = addgroup(G,GroupName,GroupContents) ;
    ...
    S = eval(S,G)

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.