Trying to compile ThingSpeak Toolbox Support into a standalone App. How to add P file requirements manually.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mario Chiappelli
am 17 Jul. 2019
Beantwortet: Vinod
am 18 Jul. 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 Kommentare
Akzeptierte Antwort
Vinod
am 18 Jul. 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 Kommentare
Weitere Antworten (0)
Communitys
Weitere Antworten in ThingSpeak Community
Siehe auch
Kategorien
Mehr zu Read Data from Channel finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!