how to send thingspeak data to matlab

actually i want to send data of thingspeak to matlab.the sensors data i have already uploaded on thingspeak by the aurdino IDE and use of esp32 that data i just want to send to matlab.so how to do that?

3 Kommentare

HAYAME AITMALEK
HAYAME AITMALEK am 25 Mai 2021
j'ai le meme probleme je veux acquérir les données de mon capteur dht22 sur thingspeak par esp82 et tout va bien maintenent je veux presanter ses donnees sur matlab commant je peux le faire ???
mohamed derkaoui
mohamed derkaoui am 23 Jun. 2021
oui moi ausssi j'ai le meme probleme ???
serre agricole
serre agricole am 24 Jun. 2021
salut mohammed j'ai trouve la solution et je peux vous envoye par email

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Vinod
Vinod am 19 Aug. 2020

0 Stimmen

thingSpeakRead will get your data from ThingSpeak to MATLAB. Are you using MATLAB on your computer, MATLAB Online, or MATLAB Analysis and Visualization apps on ThingSpeak?

6 Kommentare

Maryam saeed
Maryam saeed am 19 Aug. 2020
i will use matlab on my computer.And i wanted to ask that i have already send data of accelerometer sensor to thingspeak by using esp32 via AURINO IDE.Now i have to send data that was collected on thingspeak to matlab and dont know how to do that.
just want to send thingspeak's data which is orignially accelerometer data that is x graph y graph and z graph to matlab
Vinod
Vinod am 19 Aug. 2020
Did you take a look at the thingSpeakRead function and the examples that were in the linked documentation?
Maryam saeed
Maryam saeed am 23 Aug. 2020
yes i have looked.And i have used this commmand:
But now the problem that i am facing is that i have private channel of thingspeak so that i can only use the above command but this command is only capable of showing last value of x axis y axis and z axis that are:
data =
1983 1926 1529
but i want all the values that i have uploaded on thingspeak to be read in matlab.
along with the xaxis yaxis and zaxis label on them
Vinod
Vinod am 24 Aug. 2020
Bearbeitet: Vinod am 24 Aug. 2020
If you look at the documentation, the thingSpeakRead function has a 'NumPoints' argument that allows you to pull up to the last 8000 points in the channel, or a 'NumMinutes' argument that allows you to specify the previous 'x' minutes of data. Note that the function will return only at most the last 8000 points, as documented.
Maryam saeed
Maryam saeed am 26 Aug. 2020
The command about which you are talking above can u show its syntax?How to find field ID From thingspeak channel?This is the code that is generated through.MATLAB Visualizations and i have created a a 2-D line plot .
NUR ATHIRAH
NUR ATHIRAH am 23 Feb. 2022
But if i want to send the data from thingspeak to matlab? What should i do? How to use block thingspeak input?

Melden Sie sich an, um zu kommentieren.

Communitys

Weitere Antworten in  ThingSpeak Community

Kategorien

Mehr zu ThingSpeak finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 19 Aug. 2020

Kommentiert:

am 23 Feb. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by