MATLAB: Bloomberg Data Fetch Error

bloomberg dataDatafeed Toolbox

Bloomberg data fetch (history function) in compiled file works for me, but not for others. I've read below link and added the javaaddpath function in order to find the blp when compiled. It didn't help. Error message is the same as in the link. They are connected to the bloomberg when trying to run the file.

Best Answer

I understand that the application throws an error '??? Undefined function or variable 'SessionOptions'' on a deployed machine. The end users should have the jar file at the same location as you mentioned in the javaaddpath. Make sure they have it at that location.
Another option is to create the javaclasspath.txt file and place it in your 'prefdir' location and then build the executable.