How to read data from your thingspeak on Matlab Analysis

6 views (last 30 days)
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)

Hans Scharler
Hans Scharler on 18 Dec 2019
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.

van pépi
van pépi on 16 Jun 2020
you see video which has example
  1 Comment
Rik
Rik on 16 Jun 2020
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 ThingSpeak in Help Center and File Exchange

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!