D = addparam(M,D)
M [ model ] - Model object whose parameters will be added to database (struct) D.
D [ struct ] - Database to which the model parameters will be added.
If there are database entries in D whose names conincide with the model parameters, they will be overwritten.
D = struct();
D = addparam(M,D);