Inserts a matrix or string into a data buffer.
vput(dbuf, x, xname)¶
- dbuf (Nx1 vector) – a data buffer containing various strings and matrices. If dbuf is a scalar 0, a new data buffer will be created.
- x (LxM matrix or string) – item to be inserted into dbuf.
- xname (string) – the name of x, will be inserted with x into dbuf.
dbufnew (Kx1 vector) – the data buffer after x and xname have been inserted.
If dbuf already contains x, the new value of x will replace the old one.