MATLAB DATABASE TOOLBOX RELEASE NOTES Guía de usuario Pagina 408

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 684
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 407
6 Using Database Toolbox Functions
6-66
The columns in curs.Data are:
Product number
Stock number
Supplier number
Unit cost
Product description
Display the position of the cursor.
curs.Position
ans =
5
The position of the cursor stays at the absolute position offset 5.
Retrieve Data Using a Relative Position Offset
Import the data for three products in the data set using the relative position offset 5. A
scrollable cursor adds the current position offset 5 to the specified relative position offset
5. The scrollable cursor advances to cursor position 10 and imports data.
curs = fetch(curs,3,'relativePosition',5);
Display the data for the three products.
curs.Data
ans =
[10] [888652] [1006] [24] 'Teddy Bear'
[11] [408143] [1004] [11] 'Convertible'
[12] [210456] [1010] [22] 'Hugsy'
Display the position of the cursor.
curs.Position
ans =
10
Vista de pagina 407
1 2 ... 403 404 405 406 407 408 409 410 411 412 413 ... 683 684

Comentarios a estos manuales

Sin comentarios