Trying to compile ThingSpeak Toolbox Support into a standalone App. How to add P file requirements manually.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mario Chiappelli
el 17 de Jul. de 2019
Respondida: Vinod
el 18 de Jul. de 2019
I am getting this error warning when attempting to compile an app that needs the ThingSpeak Toolbox Support add on in order to properly function:
"P files can not be analyzed to find their required fields. Please add P file requirements manually."
For context, I have a sensor updating ThingSpeak and my app generates a report based off of the data in ThingSpeak. The app works perfect when in the normal MatLab window but when I exported it into an executable file, the report is never generated. I did some research and concluded I needed to add the ThingSpeak Toolbox Support add on to fix this but I have no idea hwo to "add P file requirements manually." The only command I need to give the app access to is ThingSpeakRead.
I am making this in App Designer.
Thanks in advance
0 comentarios
Respuesta aceptada
Vinod
el 18 de Jul. de 2019
If you are using R2019a (or newer) of MATLAB, you do not need to install the ThingSpeak Support Toolbox -- the functions are builtin to MATLAB and should be deployable in an app that is created with App Designer and compiled with MATLAB Compiler.
If you are using an older version of MATLAB, you need to specify the files of the ThingSpeak Support Toolbox to the MATLAB Compiler. See this section of the documentation: https://www.mathworks.com/help/compiler/function.html
You can also manually specify the files in the folder that ThingSpeak Support Toolbox is installed in using deploytool, if you are using that.
0 comentarios
Más respuestas (0)
Comunidades de usuarios
Más respuestas en ThingSpeak Community
Ver también
Categorías
Más información sobre Read Data from Channel en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!