MATLAB DATABASE TOOLBOX RELEASE NOTES Guia do Utilizador Página 584

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 684
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 583
1 2 ... 579 580 581 582 583 584 585 586 587 588 589 ... 683 684

Comentários a estes Manuais

Sem comentários