Borrar filtros
Borrar filtros

Regarding the connection of cloud or router to simulink blocks.

26 visualizaciones (últimos 30 días)
saranya
saranya el 29 de Jul. de 2024 a las 9:44
Respondida: Akshat Dalal el 29 de Jul. de 2024 a las 13:44
Is it possible to connect router or cloud to simulink blocks to get live datas as input??
Like processing of large amount of live datas(eg: Production factories)

Respuesta aceptada

Akshat Dalal
Akshat Dalal el 29 de Jul. de 2024 a las 13:44
Hi Saranya,
Yes, it is possible to connect Simulink to external data sources, including routers or cloud services, to get live data as input. Here are some methods to achieve this:
Using Simulink Real-Time: Simulink Real-Time allows you to connect Simulink models to real-time hardware and collect live data. This is particularly useful for hardware-in-the-loop (HIL) simulations. You can refer the following documentation: https://www.mathworks.com/products/simulink-real-time.html
Using MATLAB Interface: You can use MATLAB scripts to fetch data from cloud services or routers and then pass this data to Simulink:
  1. Web APIs: Use MATLAB's webread or webwrite functions to interact with RESTful API. Refer the following documentation: https://www.mathworks.com/help/matlab/ref/webread.html
  2. IoT Platforms: MATLAB supports integration with IoT platforms like ThingSpeak, which can be used to fetch live data. Read more about it here: https://www.mathworks.com/products/thingspeak.html

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by