Get data from an URL in Simulink for a Raspberry Pi
1 view (last 30 days)
Show older comments
Vinicio Moya
on 18 Jun 2020
Commented: Vinicio Moya
on 20 Jun 2020
Hello everybody!
I want to use a Raspberry Pi 3B+ to control a biorreactor. I have some sensors, and they give me data in an URL (http://plaato.blynk.cc/auth_token/get/pin).
How can I make a call to thar URL in Simulink? I don´t want to use ThingSpeak, and I´m sure that Simulink could do this in a simple way. Could yo help me?
0 Comments
Accepted Answer
Kshitij Chhabra
on 19 Jun 2020
Hi Vinico,
From my understanding you want to read data from a URL in Simulink. For this purpose you can create a user defined function block for the same. Once having created that you can use the ‘webread’ function to use the API’s provided by the website.
More Answers (0)
Communities
More Answers in the ThingSpeak Community
See Also
Categories
Find more on Raspberry Pi Hardware 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!