Is that possible to run MatLab runtime on Azure Function?
Show older comments
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 Comments
Walter Roberson
on 21 May 2019
It is possible to run matlab on Azure
Azure supports a variety of virtual operating systems. However it looks to me as if the "reference architectures" available are for one of the Linux distributions. Effectively that one is the best debugged and already configured, which is work you would need to do yourself if you went for Windows
https://www.mathworks.com/cloud/azure.html
This makes a practical difference because matlab Compiler has to be used on the same operating system class as the code is going to execute on.
Yinhe Zhu
on 24 May 2019
Walter Roberson
on 24 May 2019
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.
Accepted Answer
More Answers (1)
Tim Choo
on 1 May 2020
0 votes
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
Categories
Find more on Licensing on Cloud Platforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!