Create a Bloomberg
B-PIPE connection using the IP address of the machine running
the Bloomberg
B-PIPE process. This example uses the Bloomberg
B-PIPE C++ interface and assumes the following:
The authentication is Windows® authentication when you set
authtype to
'OS_LOGON'.
The application name is blank because you are not
connecting to Bloomberg
B-PIPE using an application.
The IP address for the machine running the Bloomberg
B-PIPE process is
'111.11.11.112'.
The port number of the machine running the Bloomberg
B-PIPE process is
8194.
c is a
bloombergBPIPE object.
authtype = 'OS_LOGON';
appname = '';
ipaddress = {'111.11.11.112'};
port = 8194;
c = bloombergBPIPE(authtype,appname,ipaddress,port);
Validate the Bloomberg connection.
v = isconnection(c)
v =
1
v returns true showing that the
Bloomberg connection is valid.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.