I am trying to use JAVA in my Matlab code which I never did.

2 次查看(过去 30 天)
Dear colleagues,
I try to implement this ThingSpeak-java , but after
javaaddpath('... Documents\MATLAB\thingspeak-java-master\lib\log4j.jar')
import org.apache.log4j.*
I do not know what to do next. I cannot use the standard Matlab library for ThingSpeak, because it is not supported by compilator.
Thank you for your help Z.
  6 个评论
Walter Roberson
Walter Roberson 2018-6-20
"Support for MATLAB and Toolboxes"
and look at the bottom.
"Any product not listed above is not supported and will not work with the MATLAB Compiler."
Notice that absolutely no Support Packages are listed. Therefore not only are all support packages not supported by MATLAB Compiler, but we are assured that they will not work.
Users do not have time to go around doing extensive testing to find the lurking problem that we are told is there. Not "There might be a needle in this haystack" (unsupported), but "If you can get in the door at all, there is a poison needle in this haystack."
Vinod
Vinod 2018-6-20
Thanks for making me aware of that, Walter. I have alerted the documentation team that this may need to be revised.

请先登录,再进行评论。

采纳的回答

Zdenek Kubin
Zdenek Kubin 2018-6-21
I really did the test. I added the path and it does not work. Next step, I added the files from the lib but it did not work either.

更多回答(2 个)

Zdenek Kubin
Zdenek Kubin 2018-6-22
I wrote to technical support and add this picture

Zdenek Kubin
Zdenek Kubin 2018-6-22
Vinod - thanks. that was the point, I try to add the .m function which is called from matlab. But I have to add.p function from different location. now it works, many thanks

社区

更多回答在  ThingSpeak Community

类别

Help CenterFile Exchange 中查找有关 Java Client Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by