【源码】将MATLAB算法嵌入Azure Function

在这里插入图片描述

Azure Function是一种无服务器计算服务,它允许用户运行事件触发的代码,而无需配置或管理基础结构。作为一种基于触发器的服务,它运行一个脚本或一段代码来响应各种事件。

Azure Function is a serverless compute service that enables user to run event-triggered code without having to provision or manage infrastructure. Being as a trigger-based service, it runs a script or piece of code in response to a variety of events.

Azure Function可以用来实现去耦、高吞吐量、可重用性和共享性。更可靠的是,它还可以用于生产环境。

Azure Functions can be used to achieve decoupling, high throughput, reusability and shared. Being more reliable, it can also be used for the production environments.

但是,截至2021年3月,Azure Function仅支持C#、Javascript、F#、Java、Powershell、Python和TypeScript。它们主要是开源语言。

However, as of march 2021, Azure Function is only supporting C#, Javascript, F#, Java, Powershell, Python, and TypeScript.They are mainly opensource language.

在本文档中,它将引导您了解将MATLAB算法嵌入Azure Function的两种方法

In this documentation, it will walk you through two ways to embed MATLAB Algorithm into Azure Function.

through MATLAB Coder > C# (.dll)

through MATLAB Compiler SDK > Python Package > Docker Image

Generally, solution(1) would allow your Azure function response faster than solution(2), as the C# is directly supported by Azure function natively. For solution (2), it requires more storage space for the docker image. Intuitively, solution (2) might be preferable due to MATLAB Runtime supports almost all MATLAB Function but MATLAB Coder is only supporting limited function for code generation.

更多精彩文章请关注公众号:

在这里插入图片描述

相关文章

Microsoft云包括了Azure、PowerPlatform、Microsoft365、Git...
《WindowsAzurePlatform系列文章目录》 我们在使用AzureAPI...
微软免费使用一年的Azure虚拟机,默认提供了一个64G的磁盘,...
上篇请访问这里做一个能对标阿里云的前端APM工具(上)样本多...
一年一度的MicrosoftBuild终于来了,带来了非常非常多的新技...