| Datafeed Toolbox | ![]() |
Syntax
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 command may be required when connecting to Yahoo from behind an internal firewall.
Examples
Use the yahoo command to establish a connection to the Yahoo data server.
Use the yahoo command to establish a connection 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
close, fetch, get, isconnection (Yahoo functions)
| isconnection | Directory Structure | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |