How do I make an App with ThingSpeak?

2 views (last 30 days)
Tereza Dadakova
Tereza Dadakova on 23 May 2018
I have a gui, that computes some data and sends it using ThingSpeak to my channel. Everything works, until I use Compiler. When I use exe file, my App works accept writing data to ThingSpeak. It gives an error, that says that it doesnt know the function ThingSpeakWrite. My guess is that somehow I should add ThingSpeak toolbox when I compile the app but I dont know how...

Answers (1)

Adarsh Narasimhamurthy
Adarsh Narasimhamurthy on 25 May 2018
Hi Tereza,
The current version of the ThingSpeak Support Toolbox does not support Compiler. Your guess is a good workaround. If you are using the "Application Compiler" app in MATLAB to create your exe, you would need to include the ThingSpeak Support Toolbox folder in your application. To find the location of the ThingSpeak Support Toolbox, in the MATLAB ribbon, - click on Add-ons and then Manage Add-ons. - In the window that opens, look for ThingSpeak Support Toolbox and click on Open Folder.
Copy the path to this folder ('code') and add it to project in the Application compiler app.
-Adarsh

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on ThingSpeak in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!