width - Return field size of column in fetched data set
Syntax
colsize = width(cursor, colnum)
Description
colsize = width(cursor, colnum) returns
the field size of the specified column number colnum in
the fetched data set curs.
Examples
Get the width of the first column of the fetched data set, curs:
colsize = width(curs, 1)
colsize =
11
The field size of column one is 11 characters (bytes).
See Also
attr, cols, columnnames, cursor.fetch, get
 | versioncolumns | | | |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit