MATLAB DATABASE TOOLBOX RELEASE NOTES Podręcznik Użytkownika Strona 488

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 684
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 487
7 Functions — Alphabetical List
7-58
Output Arguments
results
A cell array, table, dataset array, structure, or numeric matrix depending on
specifications set by setdbprefs.
Examples
Import Data
Import the productDescription column from the productTable table in the
dbtoolboxdemo database.
conn = database('dbtoolboxdemo','','');
setdbprefs('DataReturnFormat','cellarray')
results = fetch(conn,'select productdescription from producttable')
results =
'Victorian Doll'
'Train Set'
'Engine Kit'
'Painting Set'
'Space Cruiser'
'Building Blocks'
'Tin Soldier'
'Sail Boat'
'Slinky'
'Teddy Bear'
If you experience speed and memory issues, use the fetchbatchsize argument.
View the size of the cell array into which the results were returned.
size(results)
ans =
Przeglądanie stron 487
1 2 ... 483 484 485 486 487 488 489 490 491 492 493 ... 683 684

Komentarze do niniejszej Instrukcji

Brak uwag