From: Yan on
>> b=blp;
??? Undefined function or variable 'SessionOptions'.

Error in ==> C:\Program
Files\MATLAB\R2010a\toolbox\datafeed\datafeed\@blp\blp.p>blp at 21
From: Hamish on
Hi Yan,

Yeah I get the same error. Is this unique to 2010a? I have not used the datafeed toolbox on any earlier versions of Matlab.


"Yan " <rjeyarat(a)lindenlp.com> wrote in message <ho0f4q$1t$1(a)fred.mathworks.com>...
> >> b=blp;
> ??? Undefined function or variable 'SessionOptions'.
>
> Error in ==> C:\Program
> Files\MATLAB\R2010a\toolbox\datafeed\datafeed\@blp\blp.p>blp at 21
From: Steven Lord on

"Hamish " <hamish.pepper(a)rbnz.govt.nz> wrote in message
news:hoof89$icb$1(a)fred.mathworks.com...
> Hi Yan,
>
> Yeah I get the same error. Is this unique to 2010a? I have not used the
> datafeed toolbox on any earlier versions of Matlab.
>
>
> "Yan " <rjeyarat(a)lindenlp.com> wrote in message
> <ho0f4q$1t$1(a)fred.mathworks.com>...
>> >> b=blp;
>> ??? Undefined function or variable 'SessionOptions'.
>>
>> Error in ==> C:\Program
>> Files\MATLAB\R2010a\toolbox\datafeed\datafeed\@blp\blp.p>blp at 21

http://www.mathworks.com/support/solutions/en/data/1-BPTJDX/?solution=1-BPTJDX

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


From: Hamish on
Hi guys,

Here is the solution from MathWorks:

With the Bloomberg V3 release that the Datafeed Toolbox in R2010a is based on, there is a Java archive file from Bloomberg that you will need to install inorder to make BLP and other commands work correctly.


If you already have blpapi3.jar downloaded from Bloomberg, you can find it in your Bloomberg directories at:
...\blp\api\APIv3\JavaAPI\lib\blpapi3.jar
-or-
...\blp\api\APIv3\JavaAPI\v3.3.1.0\lib\blpapi3.jar

If this is not downloaded from Bloomberg, you may download it as follows:
1. In your Bloomberg terminal, type WAPI {GO}.
2. The Desktop/Server API page should appear.
3. Choose SDK Download Center, and then choose Desktop v3.x API.


Once you have blpapi3.jar on your system, you have to add it to the MATLAB Java classpath:
1. Open the file classpath.txt in the MATLAB Editor by executing the following on the MATLAB command prompt:
>> edit classpath.txt

2. Insert the full path to the blpapi3.jar file as the last line of the file, for example as follows:
C:\Program Files\Bloomberg\blp\api\APIv3\JavaAPI\lib\blpapi3.jar

3. Save the file and restart MATLAB for the change to take effect.

Additionally, a series of changes have been introduced in Datafeed Toolbox 3.5 (R2010a) to support Bloomberg's V3 API.

Please visit the following web-link to download a patch for a bug which may affect you:

http://www.mathworks.com/support/bugreports/622100

"Steven Lord" <slord(a)mathworks.com> wrote in message <hoqc3f$2la$1(a)fred.mathworks.com>...
>
> "Hamish " <hamish.pepper(a)rbnz.govt.nz> wrote in message
> news:hoof89$icb$1(a)fred.mathworks.com...
> > Hi Yan,
> >
> > Yeah I get the same error. Is this unique to 2010a? I have not used the
> > datafeed toolbox on any earlier versions of Matlab.
> >
> >
> > "Yan " <rjeyarat(a)lindenlp.com> wrote in message
> > <ho0f4q$1t$1(a)fred.mathworks.com>...
> >> >> b=blp;
> >> ??? Undefined function or variable 'SessionOptions'.
> >>
> >> Error in ==> C:\Program
> >> Files\MATLAB\R2010a\toolbox\datafeed\datafeed\@blp\blp.p>blp at 21
>
> http://www.mathworks.com/support/solutions/en/data/1-BPTJDX/?solution=1-BPTJDX
>
> --
> Steve Lord
> slord(a)mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
>