ThingSpeak MATLAB Examples

Examples that use the ThingSpeak IoT Platform with the integrated MATLAB Analysis and Visualizations Apps.
179 Downloads
Updated 27 May 2021

View ThingSpeak MATLAB Examples on File Exchange

ThingSpeak-MATLAB

Examples that use the ThingSpeak IoT Platform with the integrated MATLAB Analysis and Visualizations Apps.

Getting Started with ThingSpeak

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 ThingSpeak

  • 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

random_sensor_value.m

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

Resources

The following links were helpful in creating and implementing my MATLAB code using ThingSpeak:

Cite As

Hans Scharler (2024). ThingSpeak MATLAB Examples (https://github.com/nothans/thingspeak-matlab-examples), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Communities
More Files in the  ThingSpeak Community

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.