Problem sending data from ThignSpeak to Simulink
1 view (last 30 days)
Show older comments
Hello!
I have a channel in ThingSpeak. Field number 4: Temperature, with some data. But, when I try to read that data in Simulink, I only receive 0... What could be happening?
Simulink model:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/328019/image.png)
Configuration in simulink
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/328022/image.png)
ThingSpeak data:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/328025/image.png)
REsponse:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/328028/image.png)
2 Comments
Christopher Stapels
on 7 Jul 2020
Are you sure the R Pi is connected to the WiFi? What is the value at the status output?
Accepted Answer
Reeno Joseph
on 9 Jul 2020
Hello Vinicio,
I just tried to read from your thingspeak channel and got the data. I ran the model in “Monitor & Tune” mode and could see the data. Please check the attachment.
To confirm the issue at your end please share the output of status port and the ‘Diagnostic viewer’
Thanks,
Reeno Joseph
More Answers (2)
Communities
More Answers in the ThingSpeak Community
See Also
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!