Is that possible to run MatLab runtime on Azure Function?
16 次查看(过去 30 天)
显示 更早的评论
Since I want to build IoT with Azure, and I need to Matlab to compute and analyse data from IoT, I want the computation on Azure, and output to Cosmos DB. What is best way to implement it? Any ideas guys?
3 个评论
Walter Roberson
2019-5-24
If you are starting one process and it is continually running and processing one stream at a time, then you amoratize startup costs, and any of those would be fine.
However, if you are starting up a number of different processes, perhaps one per stream, then startup time can start to become important, and in that case MATLAB Production Server would tend to become what you would want.
If the data is being sent via UDP, then even though in theory you could have one server for all clients (provided you could process the data quickly enough), in practice MATLAB udp() does the equivalent of a bind() operation: you cannot easily listen for all UDP packets addressed to the socket, you need to create a connection that listens to a particular endpoint. That makes MATLAB less than ideal for high-volume low-dwell updates.
采纳的回答
Saumya Goel
2019-5-24
Please have a look at these GitHub links:
- MATLAB Azure Cosmos DB - https://github.com/mathworks-ref-arch/matlab-azure-cosmos-db
- MATLAB Reference Architectures for Cloud - https://github.com/mathworks-ref-arch
2 个评论
Pallavi Kar
2019-5-31
编辑:Pallavi Kar
2019-5-31
You can use the MATLAB Production Server reference architecture to deploy MATLAB Production Server on Azure. This tool allows you to process web requests in Parallel. Link: https://github.com/mathworks-ref-arch/matlab-production-server-on-azure
For info on MATLAB Production Server: Watch this video
You can also use Azure IoT Hub to connect your devices to it. Azure IoT hub can receive event triggers and pass data through routes and endpoints. One of this endpoint needs to be MATLAB Production Server.
2 kinds of example routes:
- Route data as it comes to MATLAB Production Server(endpoint), which can run a compiled MATLAB Analytics in parallel. Learn an example of how to take MATLAB Analytics to MATLAB Production Server.
- Alternately, if a certain kind of analytics needs to run over a longer period of time, IoT hub can pass/route the data to blobs(endpoint) instead and invoke a scheduled MATLAB Production Server hosted analytics.
更多回答(1 个)
Tim Choo
2020-5-1
In addition to the cloud reference architecture, MATLAB Production Server is also available from the Microsoft Azure Marketplace: https://azuremarketplace.microsoft.com/en-us/marketplace/apps/mathworks-inc.matlabprodserver-byol?tab=Overview
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Licensing on Cloud Platforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!