Get data from an URL in Simulink for a Raspberry Pi

조회 수: 1 (최근 30일)
Vinicio Moya
Vinicio Moya 2020년 6월 18일
댓글: Vinicio Moya 2020년 6월 20일
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?

채택된 답변

Kshitij Chhabra
Kshitij Chhabra 2020년 6월 19일
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.
For examples on how to use webread, refer to the MATLAB Documentation here.
  댓글 수: 1
Vinicio Moya
Vinicio Moya 2020년 6월 20일
Hi Kshitij... I will try it!
I will say you what happened in a few days.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

Help CenterFile Exchange에서 Simulink Support Package for Raspberry Pi Hardware에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by