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 commentaires

HAYAME AITMALEK
HAYAME AITMALEK le 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 le 23 Juin 2021
oui moi ausssi j'ai le meme probleme ???
serre agricole
serre agricole le 24 Juin 2021
salut mohammed j'ai trouve la solution et je peux vous envoye par email

Connectez-vous pour commenter.

Réponses (1)

Vinod
Vinod le 19 Août 2020

0 votes

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 commentaires

Maryam saeed
Maryam saeed le 19 Août 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 le 19 Août 2020
Did you take a look at the thingSpeakRead function and the examples that were in the linked documentation?
Maryam saeed
Maryam saeed le 23 Août 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 le 24 Août 2020
Modifié(e) : Vinod le 24 Août 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 le 26 Août 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 le 23 Fév 2022
But if i want to send the data from thingspeak to matlab? What should i do? How to use block thingspeak input?

Connectez-vous pour commenter.

Communautés

Plus de réponses dans  ThingSpeak Community

Question posée :

le 19 Août 2020

Commenté :

le 23 Fév 2022

Community Treasure Hunt

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

Start Hunting!

Translated by