yahoo - Connect to Yahoo!® data servers

Syntax

Connect = yahoo
Connect = yahoo('URL', 'IPAddress', PortNumber)

Arguments

URL

Must be http://quote.yahoo.com.

IPAddress

A MATLAB® string containing the Internet address of proxy server machine.

PortNumber

Port number on proxy server.

Description

Connect = yahoo verifies that the URL http://quote.yahoo.com is accessible and creates a connection handle.

Connect = yahoo('URL', 'IPAddress', PortNumber) connects to Yahoo! through a proxy server using the IP address and port number provided. This form of the yahoo function may be required when connecting to Yahoo! from behind an internal firewall.

Examples

Connect to the Yahoo! data server:

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

Connect to the Yahoo! data server, providing an IP address and port number on a proxy server:

Connect = yahoo('http://quote.yahoo.com','111.222.33.444',5678)
Connect =
      url: 'http://quote.yahoo.com'
      ip: '111.222.33.444'
    port: 5678

See Also

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

  


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