blpsrv() Internal Error "Undefined function or variable 'createIdentity'"

6 Ansichten (letzte 30 Tage)
Michael
Michael am 4 Feb. 2020
Beantwortet: Sai Sri Pathuri am 3 Mär. 2020
I am trying to use the Bloomberg SAPI in MatLab. When attempting to run blpsrv to set up the connection I recieve the following error:
Undefined function or variable 'createIdentity'.
Error in blpsrv (line 100)
identity = b.session.createIdentity;
When stepping through and debugging the code it seems that the b.session object within the blpsrv() function does not have a subfunction createIdentity. This function is a built in MatLab function, not sure how I can edit or debug further.
Running this on a windows machine. MatLab version R2017b.
Has anyone else ran into or solved this issue?

Antworten (1)

Sai Sri Pathuri
Sai Sri Pathuri am 3 Mär. 2020
It is possible that during configuration, the version of 'blpapi3.jar' that you copied from from the folder "C:\blp\DAPI" is only suitable for Bloomberg Desktop connections and not Bloomberg Server connections.
For configuring the Bloomberg Server connection correctly, you can find the appropriate files in a subfolder that has a name such as "C:\blp\SAPI" or "C:\blp\ServerAPI".

Kategorien

Mehr zu Bloomberg Server finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by