Info

This question is closed. Reopen it to edit or answer.

Can't connect to Kdb using Datafeed toolbox

1 view (last 30 days)
Dave
Dave on 23 Feb 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
I tried connecting to Kdb via the Datafeed toolbox but this is the error that I get:
"Undefined function 'c' for input arguments of type 'char'.
Error in kx (line 63)
Error in KdbTest (line 10) k = kx(host, port);"
I've already added the jdbc.jar via the javaaddpath call. I am currently using MATLAB 2014a x64 and the latest version of jdbc.jar from http://kx.com/q/c/.
One strange thing I noticed (not sure if it's related to this issue) is that my kx function is empty, i.e., it only contains comments but no body. All other kx functions (fetch, get, etc...) are not empty.
  1 Comment
Dave
Dave on 23 Feb 2015
I realized that when I use k = kx.c(host, port), the connection works and gives an answer of
kx.c@3dcc874a
But then doing fetch(k, '.z.p') gives the following error:
"Undefined function 'fetch' for input arguments of type 'kx.c'."
Anyone having ideas on how to proceed?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!