Bloomberg V3 communications server connection
c = blp
c = blp(P,IP,etimeout)
c = blp makes a connection to the local Bloomberg® V3 communications server. You must have a Bloomberg software license for the host on which the Datafeed Toolbox™ and MATLAB® software are running.
c = blp(P,IP,etimeout) makes a connection to the local Bloomberg communications server. P is the port number and IP is the IP address of the local machine. etimeout is the time out value (in milliseconds), specifying how long the connection is attempted before timing out if the connection cannot be made.
Note: With the Bloomberg V3 release, there is a Java® archive file from Bloomberg that you need to install for blp and other Bloomberg commands to work correctly.
If you already have blpapi3.jar downloaded from Bloomberg, you can find it in your Bloomberg directories at: ..\blp\api\APIv3\JavaAPI\lib\blpapi3.jar or ..\blp\api\APIv3\JavaAPI\v18.104.22.168\lib\blpapi3.jar. If you have blpapi3.jar, proceed to Step 3.
If blpapi3.jar is not downloaded from Bloomberg, you can download it as follows:
Establish a connection, c, to a Bloomberg data server:
c = blp
Establish a connection using the default port of 8194 and 'localhost' as the IP address, with a timeout value of 10 seconds.
c = blp(,,10000)