blpsrv() Internal Error "Undefined function or variable 'createIdentity'"
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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?
0 Commenti
Risposte (1)
Sai Sri Pathuri
il 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".
0 Commenti
Vedere anche
Categorie
Scopri di più su Bloomberg Server in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!