D = addparam(V,D)
V [ VAR ] - VAR object whose parameter matrices will be added to database (struct) D.
D [ struct ] - Database to which the model parameters will be added.
The newly created database entries are named A_ (transition matrix), K_ (constant terms), J_ (coefficient matrix in front of exogenous inputs), B_ (matrix of instantaneous whock effects), and Cov_ (covariance matrix of shocks). Be aware that all existing database entries in D named A_, K_, B_, or Omg_ will be overwritten.
D = struct();
D = addparam(V,D);