Is it possible to run matlab code from the web browser????

72 views (last 30 days)
We are planning to create a website for a prediction system, where we need to get input from the user which in turn should run the matlab program (very similar to gui), and display the result in webpage. Is it possible????
  1 Comment
karlo abnoosian
karlo abnoosian on 15 Jul 2021
mu=8.3; %mean (m)
sigma=2.7; %standard deviation (m)
d = lognrnd(mu,sigma,5,1)

Sign in to comment.

Answers (2)

Geoff McVittie
Geoff McVittie on 9 Apr 2019
This toolbox on the MathWorks File Exchange (Generate JavaScript Using MATLAB Coder - File Exchange - MATLAB Central) can compile MATLAB functions into JavaScript functions that can be run in a browser.

Walter Roberson
Walter Roberson on 5 May 2015

Community Treasure Hunt

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

Start Hunting!