yahoo.get - Retrieve properties of Yahoo!® connection objects

Syntax

value = get(Connect, 'PropertyName')
value = get(Connect)

Arguments

Connect

Yahoo! connection object created with the yahoo function.

PropertyName

(Optional) A MATLAB® string or cell array of strings containing property names. Currently the only property name recognized is 'url'.

Description

value = get(Connect, 'PropertyName') returns the value of the specified properties for the Yahoo! connection object.

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

Examples

Connect to a Yahoo! data server:

c = yahoo
c =
    url: 'http://quote.yahoo.com'

Retrieve the URL of the connection:

get(c, 'url')
ans = 
    url: 'http://quote.yahoo.com'

See Also

yahoo.close, yahoo.fetch, yahoo.isconnection, yahoo

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS