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 comentarios

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

Iniciar sesión para comentar.

Respuestas (1)

Vinod
Vinod el 19 de Ag. de 2020

0 votos

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 comentarios

Maryam saeed
Maryam saeed el 19 de Ag. de 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 el 19 de Ag. de 2020
Did you take a look at the thingSpeakRead function and the examples that were in the linked documentation?
Maryam saeed
Maryam saeed el 23 de Ag. de 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 el 24 de Ag. de 2020
Editada: Vinod el 24 de Ag. de 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 el 26 de Ag. de 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 el 23 de Feb. de 2022
But if i want to send the data from thingspeak to matlab? What should i do? How to use block thingspeak input?

Iniciar sesión para comentar.

Comunidades de usuarios

Más respuestas en  ThingSpeak Community

Categorías

Más información sobre ThingSpeak en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 19 de Ag. de 2020

Comentada:

el 23 de Feb. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by