ThingSpeak MATLAB Examples

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

https://nothans.com/thingspeak-tutorials

You are now following this Submission

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 (2026). ThingSpeak MATLAB Examples (https://github.com/nothans/thingspeak-matlab-examples), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Communities
More Files in the  ThingSpeak Community

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
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.