rows - Return number of rows in fetched data set
Syntax
numrows = rows(curs)
Description
numrows = rows(curs) returns
the number of rows in the fetched data set curs,
where curs has been generated by the cursor.fetch function.
Examples
There are four rows in the fetched data set curs.
numrows = rows(curs)
numrows =
4
To see the four rows of data in curs, run:
curs.Data
ans =
'Germany'
'Mexico'
'France'
'Canada'
See Also
cols, cursor.fetch, get, rsmd
 | rollback | | rsmd |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit