[personal kdb+] how to connect to Kdb+ from Matlab

438 views
Skip to first unread message

Richard Zwz

unread,
May 3, 2010, 10:49:27 PM5/3/10
to Kdb+ Personal Developers
Hi,
When trying to connect to a 32bit KDB+ database (q v2.6) using the
Matlab's KX Datafeed(V3.5 (R2010a)). I keep getting the following
error:

>> q=kx('127.0.0.1',5001)
??? Undefined function or method 'c' for input arguments of type
'char'.

Error in ==> C:\Program Files\MATLAB\R2010a\toolbox\datafeed\datafeed
\@kx\kx.p>kx
at 51

I have looked at "Interfacing with Kdb+ from Matlab"(https://
code.kx.com/trac/wiki/Cookbook/IntegratingWithMatlab) and Matlab's
solution ID:1-6WOC9E (http://www.mathworks.com/support/solutions/en/
data/1-6WOC9E/index.html?product=DF&solution=1-6WOC9E) . I have
confirmed that
1) a kdb+ process running on the local host on port 5001;
2) the jdbc.jar from kx (https://code.kx.com/trac/browser/kx/kdb%2B/c/
jdbc.jar) is installed and the jar file is added to the classpath
used by Matlab.

any idea? thx.

--
You received this message because you are subscribed to the Google Groups "Kdb+ Personal Developers" group.
To post to this group, send email to personal...@googlegroups.com.
To unsubscribe from this group, send email to personal-kdbpl...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/personal-kdbplus?hl=en.

Charles Skelton

unread,
May 3, 2010, 11:48:55 PM5/3/10
to personal...@googlegroups.com
there's a conflict of namespaces

Richard Zwz

unread,
May 4, 2010, 2:49:57 AM5/4/10
to Kdb+ Personal Developers
thanks, this revision of jdbc.jar works fine.
> > personal-kdbpl...@googlegroups.com<personal-kdbplus%2Bunsubscrib­e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/personal-kdbplus?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "Kdb+ Personal Developers" group.
> To post to this group, send email to personal...@googlegroups.com.
> To unsubscribe from this group, send email to personal-kdbpl...@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/personal-kdbplus?hl=en.- 隐藏被引用文字 -
>
> - 显示引用的文字 -

babaji

unread,
Oct 10, 2016, 10:42:08 AM10/10/16
to Kdb+ Personal Developers
Hi , I am trying the latest jdbc.jar , but getting error: "The class kx has no Constant property or Static method named 'c'.", executinh command line: k = kx('127.0.0.1',5002). Amy help would be much appreciated. Thanks !

Charles Skelton

unread,
Oct 10, 2016, 10:53:20 AM10/10/16
to personal...@googlegroups.com
and let us know if you continue to have a problem.

thanks

To unsubscribe from this group and stop receiving emails from it, send an email to personal-kdbplus+unsubscribe@googlegroups.com.
To post to this group, send email to personal-kdbplus@googlegroups.com.
Visit this group at https://groups.google.com/group/personal-kdbplus.
For more options, visit https://groups.google.com/d/optout.



--
Charles G Skelton | Kx | cha...@kx.com
Reply all
Reply to author
Forward
0 new messages