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 Thingspeak.com.
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:
MathWorks Internet of Things Team (2022). Writing to a ThingSpeak channel (https://www.mathworks.com/matlabcentral/fileexchange/52357-writing-to-a-thingspeak-channel), MATLAB Central File Exchange. 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!