vput

Purpose

Inserts a matrix or string into a data buffer.

Format

dbufnew = vput(dbuf, x, xname)
Parameters:
  • 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.

Returns:

dbufnew (Kx1 vector) – the data buffer after x and xname have been inserted.

Remarks

If dbuf already contains x, the new value of x will replace the old one.

Source

vpack.src

See also

Functions vget(), vlist(), vread()