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:
http://www.mathworks.com/matlabcentral/fileexchange/52244
For more information on IoT and ThingSpeak, see the following resource pages:
https://www.mathworks.com/products/thingspeak.html
www.mathworks.com/solutions/internet-of-things
MathWorks Internet of Things Team (2021). Writing to a ThingSpeak channel (https://www.mathworks.com/matlabcentral/fileexchange/52357-writing-to-a-thingspeak-channel), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.