get

Retrieve properties from Haver Analytics connection objects

Syntax

V = get(c,'PropertyName')
V = get(c)

Arguments

c

Haver Analytics® connection object created with haver.

'PropertyName'

A MATLAB® character vector, string, cell array of character vectors, or string array containing property names. The property name is Databasename.

Description

V = get(c,'PropertyName') returns a MATLAB structure containing the value of the specified properties for the Haver Analytics connection object.

V = get(c) returns a MATLAB structure, where each field name is the name of a property of c. Each field contains the value of the property.

Examples

Establish a Haver Analytics connection.

c = haver('d:\work\haver\data\haverd.dat')

Retrieve the name of the Haver Analytics database.

V = get(c,'DatabaseName')

  V =

    DatabaseName: 'd:\work\haver\data\haverd.dat'

Introduced in R2007a