Info

此问题已关闭。 请重新打开它进行编辑或回答。

Can't connect to Kdb using Datafeed toolbox

1 次查看(过去 30 天)
Dave
Dave 2015-2-23
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
Dave
Dave 2015-2-23
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?

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by