MATLAB DATABASE TOOLBOX RELEASE NOTES Uživatelská příručka Strana 584

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 684
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 583
1 2 ... 579 580 581 582 583 584 585 586 587 588 589 ... 683 684

Komentáře k této Příručce

Žádné komentáře