How to deploy my ML model coded in MATLAB to a webpage?

12 visualizaciones (últimos 30 días)
CHANDRA CHUD RAI
CHANDRA CHUD RAI el 29 de Jun. de 2020
Respondida: bharath pro el 29 de Jun. de 2020
I made a simple linear regression ML model in MATLAB. Now I want to deploy it to a webpage. How can I do that?
(Like Flask is used to deploy python ML models to a webpage, is there any way to deploy MATLAB ML models to webpages?)

Respuestas (1)

bharath pro
bharath pro el 29 de Jun. de 2020
There are two ways to achieve this
1) https://www.mathworks.com/help/compiler/web-apps.html. You can design a web app in the matlab app designer and host it using matlab web app server. Although this is only a good solution if you want to host the web app in an intranet.
2) https://www.mathworks.com/videos/how-to-call-matlab-from-python-1571136879916.html. Using this you can connect python to a matlab session and use the matlab model in python, which then can be integrated into flask or any other python based web app.

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by