Skip to Main Content Skip to Search
Product Documentation

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://download.finance.yahoo.com'
      ip: []
    port: []

Retrieve the URL of the connection:

get(c, 'url')

ans =

http://download.finance.yahoo.com

See Also

yahoo | yahoo.close | yahoo.fetch | yahoo.isconnection

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

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