vnamecv#
Purpose#
Returns the names of the elements of a data buffer constructed with vput().
Format#
- cv = vnamecv(dbuf)#
- Parameters:
dbuf (Nx1 vector) – a data buffer containing various strings and matrices.
- Returns:
cv (Kx1 character vector) – containing the names of the elements of dbuf.
Examples#
// Get the names of items stored in a data buffer
dbuf = vput(0, rndn(2, 2), "alpha");
dbuf = vput(dbuf, "hello", "beta");
cv = vnamecv(dbuf);
print cv;