How do I make an App with ThingSpeak?

2 次查看(过去 30 天)
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...

回答(1 个)

Adarsh Narasimhamurthy
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

社区

更多回答在  ThingSpeak Community

类别

Help CenterFile Exchange 中查找有关 ThingSpeak 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by