[S,L] = eval(G,S)
G
[ grouping ] - Grouping object.
S
[ dbase ] - Input dabase with individual contributions.
S
[ dbase ] - Output database with grouped contributions.
L
[ cellstr ] - Legend entries based on the list of group names.
'append='
[ true
| false
] - Append in the output database all remaining data columns from the input database that do not correspond to any contribution of shocks or measurement variables.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)