image thumbnail

Writing to a ThingSpeak channel

version (4.91 KB) by MathWorks Internet of Things Team
How to write data to


Updated 19 Mar 2019

View License

This example shows how to write data to ThingSpeak from MATLAB. Specifically, this example shows how to use MATLAB to upload a set of data with timestamps to
For releases R2014b through R2018b, this example requires the user to first install the ThingSpeak Support Toolbox which is available here:
For more information on IoT and ThingSpeak, see the following resource pages:

Cite As

MathWorks Internet of Things Team (2021). Writing to a ThingSpeak channel (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
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!