I am trying to use JAVA in my Matlab code which I never did.
Mostrar comentarios más antiguos
Dear colleagues,
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 comentarios
Hans Scharler
el 20 de Jun. de 2018
ThingSpeak read and write functions are available via the ThingSpeak Support Package on File Exchange or from Add-ons. What do you need to do with the Java library within MATLAB?
Walter Roberson
el 20 de Jun. de 2018
Hans Scharler:
According to the Mathworks documentation, none of the Support Packages can be compiled with MATLAB Compiler. There are Simulink Coder and Embedded Coder support packages for various devices, but nothing that has execution time functionality can be compiled.
Zdenek Kubin
el 20 de Jun. de 2018
Vinod
el 20 de Jun. de 2018
Editada: Walter Roberson
el 30 de Jun. de 2018
See here for information on compiling functions into a standalone executable:
Please contact Technical Support if you have questions about how to do this.
Walter Roberson
el 20 de Jun. de 2018
"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
el 20 de Jun. de 2018
Thanks for making me aware of that, Walter. I have alerted the documentation team that this may need to be revised.
Respuesta aceptada
Más respuestas (2)
Zdenek Kubin
el 22 de Jun. de 2018
0 votos
Zdenek Kubin
el 22 de Jun. de 2018
0 votos
Comunidades de usuarios
Más respuestas en ThingSpeak Community
Categorías
Más información sobre Java Client Programming en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
