Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

get

Retrieve properties of Yahoo! connection objects

Syntax

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

Arguments

Connect

Yahoo!® connection object created with yahoo.

PropertyName

(Optional) A MATLAB® character vector or cell array of character vectors 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! Finance:

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

Related Examples

See Also

| | |

Was this topic helpful?