Help CenterHelp Center
Determine Bloomberg connection V3
v = isconnection(c)
v = isconnection(c) returns true if c is a valid Bloomberg® V3 connection and false otherwise.
v
c
true
false
example
collapse all
Create the Bloomberg connection.
c = blp;
Alternatively, you can connect to the Bloomberg Server using blpsrv or Bloomberg B-PIPE® using bpipe.
blpsrv
bpipe
Validate the Bloomberg connection.
v = 1
v returns true showing that the Bloomberg connection is valid.
Close the Bloomberg connection.
close(c)
Bloomberg connection, specified as a connection object created using blp, blpsrv, or bpipe.
blp
Valid Bloomberg connection, returned as a logical true, 1, or a logical false, 0.
Introduced in R2010b
blp | blpsrv | bpipe | close | getdata
close
getdata
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office