factset.get - Retrieve properties of FactSet® connection objects

Syntax

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

Arguments

Connect

FactSet connection object created with the factset function.

PropertyName

(Optional) A MATLAB® string or cell array of strings containing property names. Property names are:

  • user

  • serial

  • password

  • cid

Description

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

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

Examples

Establish a connection to a FactSet data server:

Connect = factset('Fast_User','1234','Fast_Pass','userid')

Retrieve the connection property value:

h = get(Connect)
h=
       user: 'Fast_User'
     serial: '1234'
   password: 'Fast_Pass'
        cid: 'userid'

Retrieve the value of the connection's user property:

get(Connect, 'user')
ans =  
Fast_User

See Also

factset.close, factset.fetch, factset, factset.isconnection

  


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