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

6 vues (au cours des 30 derniers jours)
Michael
Michael le 4 Fév 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?

Réponses (1)

Sai Sri Pathuri
Sai Sri Pathuri le 3 Mar 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".

Catégories

En savoir plus sur Bloomberg Server dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by