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

21 views (last 30 days)
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?)

Answers (1)

bharath pro
bharath pro on 29 Jun 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.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!