Effacer les filtres
Effacer les filtres

Regarding the connection of cloud or router to simulink blocks.

26 vues (au cours des 30 derniers jours)
saranya
saranya le 29 Juil 2024 à 9:44
Réponse apportée : Akshat Dalal le 29 Juil 2024 à 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)

Réponse acceptée

Akshat Dalal
Akshat Dalal le 29 Juil 2024 à 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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by