How to read data from your thingspeak on Matlab Analysis

Hi Team
I am following the link to send email using ThingHTTP and Matlab Analysis, On Matlab Analysis do i change the channelID, URL and field name? Reason for this i see its a default example. How does now IFTT merge it with my thingspeak channel? In order to receive email notification about my channel from thingspeak. https://www.mathworks.com/help/thingspeak/use-ifttt-to-send-text-message-notification.html

Answers (2)

I would start with thingSpeakRead function in MATLAB.
data = thingSpeakRead(12397,'Fields',[1,4],'NumPoints',3,'OutputFormat','TimeTable')
If you have a private ThingSpeak channel, you will also need to supply your Read API Key.
you see video which has example

1 Comment

I personally think the documentation page Hans linked is more useful than the 2 lines of code this video shows.

Sign in to comment.

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Release

R2019b

Tags

Asked:

on 18 Dec 2019

Commented:

Rik
on 16 Jun 2020

Community Treasure Hunt

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

Start Hunting!