blpsrv() Internal Error "Undefined function or variable 'createIdentity'"
6 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Sai Sri Pathuri
on 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 Comments
See Also
Categories
Find more on Bloomberg Server in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!