- 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
- 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
Regarding the connection of cloud or router to simulink blocks.
3 views (last 30 days)
Show older comments
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)
0 Comments
Accepted Answer
Akshat Dalal
on 29 Jul 2024
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:
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!