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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 684
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 583
7 Functions — Alphabetical List
7-154
get
Retrieve object properties
Syntax
s = get(object)
v = get(object,property)
Description
s = get(object) returns a structure that contains object and its corresponding
properties, and assigns the structure to s.
v = get(object,property) retrieves the value of property for object and assigns
the value to v.
Examples
Get Database Metadata Object Properties
Retrieve the properties of a database metadata object created using a database
connection object.
Establish connection conn to a MySQL database with user name username and
password pwd.
conn = database('MySQL','username','pwd');
Construct a database metadata object dbmeta using the database connection object
conn.
dbmeta = dmd(conn);
Retrieve the properties of dbmeta and assign them to MATLAB variable v.
Przeglądanie stron 583
1 2 ... 579 580 581 582 583 584 585 586 587 588 589 ... 683 684

Komentarze do niniejszej Instrukcji

Brak uwag