Regarding the connection of cloud or router to simulink blocks.

26 次查看(过去 30 天)
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)

采纳的回答

Akshat Dalal
Akshat Dalal 2024-7-29,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

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by