ThingSpeak MATLAB Examples
Updated 27 May 2021
Examples that use the ThingSpeak IoT Platform with the integrated MATLAB Analysis and Visualizations Apps.
ThingSpeak is an open source Internet of Things application and API to read and write data from anything using HTTP over the Internet or via a Local Area Network.
- Sign Up for New User Account - https://thingspeak.com/users/new
- Create a new ThingSpeak Channel by selecting Channels and then Create New Channel
- Copy and save the ThingSpeak Channel ID and Write API Key
- Enter the ThingSpeak Channel ID and Write API Key into the MATLAB code examples
When this MATLAB Analysis code runs, random_sensor_value.m will write a random integer between 0 and 1023 to the specified ThingSpeak channel. Here's an example of a ThingSpeak channel: https://thingspeak.com/channels/53215
The following links were helpful in creating and implementing my MATLAB code using ThingSpeak:
Hans Scharler (2022). ThingSpeak MATLAB Examples (https://github.com/nothans/thingspeak-matlab-examples), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!